#A242BF#A242BF
#A242BF is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.199 H 317.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A242BF |
|---|---|
| RGB | rgb(162, 66, 191) |
| HSL | hsl(286, 49%, 50%) |
| HSV | hsv(286, 65%, 75%) |
| CMYK | cmyk(15.2%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(46.10, 57.96, -48.11) |
| CIE-LCH | lch(46.10, 75.33, 320.30°) |
| OKLab | oklab(56.04% 0.147 -0.1348) |
| OKLCH | oklch(56.04% 0.199 317.5) |
| XYZ | xyz(26.2511, 15.3405, 50.8583) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.77
Darkorchid
#9932CC
ΔE00 4.36
Barney
#AC1DB8
ΔE00 4.86
Medium Purple
#9E43A2
ΔE00 5.12
Ugly Purple
#A442A0
ΔE00 5.90
Vibrant Purple
#AD03DE
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A242BF #5FBF42
analogous
#6342BF #A242BF #BF429D
triadic
#A242BF #BFA242 #42BFA2
tetradic
#A242BF #BF6342 #5FBF42 #429DBF
square
#A242BF #BF6342 #5FBF42 #429DBF
split-complementary
#A242BF #9DBF42 #42BF63
monochromatic
#552265 #7C3292 #A242BF #B870CE #CF9DDE
Accessibility & contrast
On white
5.16
#A242BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#A242BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A242BF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A242BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A242BF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#A1597B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a242bf; /* rgb */ color: rgb(162, 66, 191); /* oklch */ color: oklch(56.0% 0.199 317.5);
Tailwind
colors: {
custom: {
50: '#c17dd3',
500: '#a242bf',
950: '#000000',
},
}SCSS
$custom: #a242bf; $custom-light: #c17dd3; $custom-dark: #000000;
JSON
{
"hex": "#a242bf",
"rgb": {
"r": 162,
"g": 66,
"b": 191
},
"hsl": {
"h": 286.08,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.56044,
"c": 0.19947,
"h": 317.5
},
"luminance": 0.15339
}Semantic roles & 50–950 ramp
primary
#A242BF
secondary
#9FCA93
accent
#D94F6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83