#9B59B6

Slate Gray

#9B59B6Slate Gray

Luminance

0.175

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#9B59B6
No #
9B59B6

RGB

RGB
rgb(155, 89, 182)
Values
R:155 G:89 B:182

HSL

HSL
hsl(283, 39%, 53%)
Values
H:283° S:39% L:53%

HSV / HSB

HSV
hsv(283, 51%, 71%)
Values
H:283° S:51% V:71%

CMYK

CMYK
cmyk(15%, 51%, 0%, 29%)
Values
C:15 M:51 Y:0 K:29

LAB

LAB
lab(49, 43, -39)
Values
L:49 a:43 b:-39

OKLCH

OKLCH
oklch(57.7% 0.152 315.3)
Values
L:57.7% C:0.152 H:315.3°

Code Formats

CSS
color: #9B59B6;
Swift
UIColor(red: 0.608, green: 0.349, blue: 0.714, alpha: 1.0)
Kotlin
Color(0xFF9B59B6)
Flutter
Color(0xFF9B59B6)
Android
#FF9B59B6

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.67:1

AA

On Black

4.50:1

AA-large

Grayscale Contrast

Aa

0%

4.5

AA-large
Aa

10%

3.7

AA-large
Aa

20%

2.7

Fail
Aa

30%

1.8

Fail
Aa

40%

1.2

Fail
Aa

50%

1.2

Fail
Aa

60%

1.6

Fail
Aa

70%

2.2

Fail
Aa

80%

2.9

Fail
Aa

90%

3.7

AA-large
Aa

100%

4.7

AA

Best Grayscale Contrast

#FFFFFF with ratio 4.67: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, #C69FD5 0%, #623375 100%)
OKLCH
linear-gradient(90deg, oklch(75.6% 0.087 316.5) 0%, oklch(41.1% 0.117 315.3) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #B76ED4 0%, #8C27B4 100%)
OKLCH
linear-gradient(135deg, oklch(65.7% 0.163 315.7) 0%, oklch(49.7% 0.213 313.9) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #9B59B6 0%, #73B658 100%)
OKLCH
linear-gradient(90deg, oklch(57.7% 0.152 315.3) 0%, oklch(71.0% 0.145 137.5) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #6D58B6 0%, #9B59B6 50%, #B658A2 100%)
OKLCH
linear-gradient(90deg, oklch(52.7% 0.143 291.0) 0%, oklch(57.7% 0.152 315.3) 50%, oklch(60.0% 0.152 336.0) 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, #9B58B6 0%, #211825 100%)
OKLCH
linear-gradient(180deg, oklch(57.6% 0.154 315.4) 0%, oklch(22.6% 0.028 315.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #BB8ECD 0%, #713B87 100%)
OKLCH
radial-gradient(circle, oklch(71.1% 0.102 316.1) 0%, oklch(45.3% 0.131 315.2) 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