#8B008B

Purple

#8B008BPurple

Luminance

0.074

Category

Pink

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#8B008B
No #
8B008B

RGB

RGB
rgb(139, 0, 139)
Values
R:139 G:0 B:139

HSL

HSL
hsl(300, 100%, 27%)
Values
H:300° S:100% L:27%

HSV / HSB

HSV
hsv(300, 100%, 55%)
Values
H:300° S:100% V:55%

CMYK

CMYK
cmyk(0%, 100%, 0%, 45%)
Values
C:0 M:100 Y:0 K:45

LAB

LAB
lab(33, 63, -39)
Values
L:33 a:63 b:-39

OKLCH

OKLCH
oklch(44.7% 0.205 328.4)
Values
L:44.7% C:0.205 H:328.4°

Code Formats

CSS
color: #8B008B;
Swift
UIColor(red: 0.545, green: 0.000, blue: 0.545, alpha: 1.0)
Kotlin
Color(0xFF8B008B)
Flutter
Color(0xFF8B008B)
Android
#FF8B008B

Contrast Analysis

WCAG compliance with grayscale colors

On White

8.50:1

AAA

On Black

2.47:1

Fail

Grayscale Contrast

Aa

0%

2.5

Fail
Aa

10%

2.0

Fail
Aa

20%

1.5

Fail
Aa

30%

1.0

Fail
Aa

40%

1.5

Fail
Aa

50%

2.1

Fail
Aa

60%

3.0

Fail
Aa

70%

4.1

AA-large
Aa

80%

5.3

AA
Aa

90%

6.7

AA
Aa

100%

8.5

AAA

Best Grayscale Contrast

#FFFFFF with ratio 8.50:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #F000F0 0%, #80007F 100%)
OKLCH
linear-gradient(90deg, oklch(67.0% 0.308 328.4) 0%, oklch(42.0% 0.193 328.8) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #BD00BD 0%, #CC00CC 100%)
OKLCH
linear-gradient(135deg, oklch(56.0% 0.257 328.4) 0%, oklch(59.3% 0.273 328.4) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #8B008B 0%, #008A00 100%)
OKLCH
linear-gradient(90deg, oklch(44.7% 0.205 328.4) 0%, oklch(54.9% 0.187 142.5) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #45008A 0%, #8B008B 50%, #8A0045 100%)
OKLCH
linear-gradient(90deg, oklch(33.9% 0.186 295.5) 0%, oklch(44.7% 0.205 328.4) 50%, oklch(41.0% 0.166 0.9) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #8A008A 0%, #340934 100%)
OKLCH
linear-gradient(180deg, oklch(44.4% 0.204 328.4) 0%, oklch(23.9% 0.090 328.0) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #D600D6 0%, #990099 100%)
OKLCH
radial-gradient(circle, oklch(61.5% 0.283 328.4) 0%, oklch(47.9% 0.220 328.4) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette