#A242B0#A242B0
#A242B0 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.185 H 322.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #A242B0 |
|---|---|
| RGB | rgb(162, 66, 176) |
| HSL | hsl(292, 45%, 47%) |
| HSV | hsv(292, 63%, 69%) |
| CMYK | cmyk(8%, 62.5%, 0%, 31%) |
| CIE-LAB | lab(45.24, 55.04, -40.70) |
| CIE-LCH | lch(45.24, 68.45, 323.52°) |
| OKLab | oklab(55.15% 0.1469 -0.1132) |
| OKLCH | oklch(55.15% 0.185 322.4) |
| XYZ | xyz(24.6842, 14.7137, 42.6057) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.50
Medium Purple
#9E43A2
ΔE00 2.53
Ugly Purple
#A442A0
ΔE00 3.29
Barney
#AC1DB8
ΔE00 4.63
Darkorchid
#9932CC
ΔE00 6.24
Warm Purple
#952E8F
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A242B0 #50B042
analogous
#6B42B0 #A242B0 #B04287
triadic
#A242B0 #B0A242 #42B0A2
tetradic
#A242B0 #B06B42 #50B042 #4287B0
square
#A242B0 #B06B42 #50B042 #4287B0
split-complementary
#A242B0 #87B042 #42B06B
monochromatic
#502157 #793183 #A242B0 #BB69C7 #CF95D7
Accessibility & contrast
On white
5.33
#A242B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#A242B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A242B0
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A242B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A242B0 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#A45373
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a242b0; /* rgb */ color: rgb(162, 66, 176); /* oklch */ color: oklch(55.1% 0.185 322.4);
Tailwind
colors: {
custom: {
50: '#c07dc8',
500: '#a242b0',
950: '#000000',
},
}SCSS
$custom: #a242b0; $custom-light: #c07dc8; $custom-dark: #000000;
JSON
{
"hex": "#a242b0",
"rgb": {
"r": 162,
"g": 66,
"b": 176
},
"hsl": {
"h": 292.364,
"s": 45.455,
"l": 47.451
},
"oklch": {
"l": 0.55148,
"c": 0.18549,
"h": 322.4
},
"luminance": 0.14712
}Semantic roles & 50–950 ramp
primary
#A242B0
secondary
#92C38B
accent
#D55363
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82