#A742BC#A742BC
#A742BC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.5% C 0.199 H 320.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A742BC |
|---|---|
| RGB | rgb(167, 66, 188) |
| HSL | hsl(290, 48%, 50%) |
| HSV | hsv(290, 65%, 74%) |
| CMYK | cmyk(11.2%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(46.64, 58.54, -45.46) |
| CIE-LCH | lch(46.64, 74.12, 322.16°) |
| OKLab | oklab(56.52% 0.1531 -0.1269) |
| OKLCH | oklch(56.52% 0.199 320.3) |
| XYZ | xyz(26.9606, 15.7441, 49.1860) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.31
Medium Purple
#9E43A2
ΔE00 4.55
Barney
#AC1DB8
ΔE00 4.76
Ugly Purple
#A442A0
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.45
Purpley Pink
#C83CB9
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A742BC #57BC42
analogous
#6A42BC #A742BC #BC4294
triadic
#A742BC #BCA742 #42BCA7
tetradic
#A742BC #BC6A42 #57BC42 #4294BC
square
#A742BC #BC6A42 #57BC42 #4294BC
split-complementary
#A742BC #94BC42 #42BC6A
monochromatic
#572261 #7F328F #A742BC #BC6FCC #D19CDC
Accessibility & contrast
On white
5.06
#A742BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#A742BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A742BC
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A742BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A742BC | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#A85779
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a742bc; /* rgb */ color: rgb(167, 66, 188); /* oklch */ color: oklch(56.5% 0.199 320.3);
Tailwind
colors: {
custom: {
50: '#c47ed1',
500: '#a742bc',
950: '#000000',
},
}SCSS
$custom: #a742bc; $custom-light: #c47ed1; $custom-dark: #000000;
JSON
{
"hex": "#a742bc",
"rgb": {
"r": 167,
"g": 66,
"b": 188
},
"hsl": {
"h": 289.672,
"s": 48.031,
"l": 49.804
},
"oklch": {
"l": 0.56523,
"c": 0.19886,
"h": 320.3
},
"luminance": 0.15743
}Semantic roles & 50–950 ramp
primary
#A742BC
secondary
#9BC991
accent
#D85067
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82