#AB4ABA

Orchid

#AB4ABAOrchid

Luminance

0.171

Category

Pink

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#AB4ABA
No #
AB4ABA

RGB

RGB
rgb(171, 74, 186)
Values
R:171 G:74 B:186

HSL

HSL
hsl(292, 45%, 51%)
Values
H:292° S:45% L:51%

HSV / HSB

HSV
hsv(292, 60%, 73%)
Values
H:292° S:60% V:73%

CMYK

CMYK
cmyk(8%, 60%, 0%, 27%)
Values
C:8 M:60 Y:0 K:27

LAB

LAB
lab(48, 56, -41)
Values
L:48 a:56 b:-41

OKLCH

OKLCH
oklch(57.9% 0.188 322.1)
Values
L:57.9% C:0.188 H:322.1°

Code Formats

CSS
color: #AB4ABA;
Swift
UIColor(red: 0.671, green: 0.290, blue: 0.729, alpha: 1.0)
Kotlin
Color(0xFFAB4ABA)
Flutter
Color(0xFFAB4ABA)
Android
#FFAB4ABA

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.75:1

AA

On Black

4.42:1

AA-large

Grayscale Contrast

Aa

0%

4.4

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.7

Fail
Aa

70%

2.3

Fail
Aa

80%

3.0

Fail
Aa

90%

3.8

AA-large
Aa

100%

4.8

AA

Best Grayscale Contrast

#FFFFFF with ratio 4.75: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, #CD94D6 0%, #692B73 100%)
OKLCH
linear-gradient(90deg, oklch(74.4% 0.112 321.9) 0%, oklch(40.7% 0.132 321.9) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #C760D7 0%, #9E1FB2 100%)
OKLCH
linear-gradient(135deg, oklch(65.8% 0.196 322.1) 0%, oklch(51.6% 0.224 321.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #AB4ABA 0%, #59BA4A 100%)
OKLCH
linear-gradient(90deg, oklch(57.9% 0.188 322.1) 0%, oklch(70.6% 0.176 141.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #734ABA 0%, #AB4ABA 50%, #BA4A91 100%)
OKLCH
linear-gradient(90deg, oklch(51.2% 0.169 296.9) 0%, oklch(57.9% 0.188 322.1) 50%, oklch(58.0% 0.165 344.5) 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, #AB4ABA 0%, #231825 100%)
OKLCH
linear-gradient(180deg, oklch(57.9% 0.188 322.1) 0%, oklch(22.9% 0.029 321.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #C581CF 0%, #7A3285 100%)
OKLCH
radial-gradient(circle, oklch(70.0% 0.133 322.2) 0%, oklch(45.2% 0.148 322.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