#8738AF#8738AF
#8738AF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.187 H 312.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8738AF |
|---|---|
| RGB | rgb(135, 56, 175) |
| HSL | hsl(280, 52%, 45%) |
| HSV | hsv(280, 68%, 69%) |
| CMYK | cmyk(22.9%, 68%, 0%, 31.4%) |
| CIE-LAB | lab(39.71, 52.97, -49.17) |
| CIE-LCH | lch(39.71, 72.27, 317.13°) |
| OKLab | oklab(50.34% 0.1252 -0.1387) |
| OKLCH | oklch(50.34% 0.187 312.1) |
| XYZ | xyz(19.1423, 11.0749, 41.6784) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.96
Darkorchid
#9932CC
ΔE00 4.84
Purple (survey)
#7E1E9C
ΔE00 5.57
Darkviolet
#9400D3
ΔE00 6.35
Barney
#AC1DB8
ΔE00 6.53
Royal Purple
#7851A9
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8738AF #60AF38
analogous
#4C38AF #8738AF #AF389B
triadic
#8738AF #AF8738 #38AF87
tetradic
#8738AF #AF4C38 #60AF38 #389BAF
square
#8738AF #AF4C38 #60AF38 #389BAF
split-complementary
#8738AF #9BAF38 #38AF4C
monochromatic
#3F1A52 #632981 #8738AF #A45ACA #BE88D9
Accessibility & contrast
On white
6.53
#8738AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#8738AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8738AF
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8738AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8738AF | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#82506F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8738af; /* rgb */ color: rgb(135, 56, 175); /* oklch */ color: oklch(50.3% 0.187 312.1);
Tailwind
colors: {
custom: {
50: '#ae75c7',
500: '#8738af',
950: '#000000',
},
}SCSS
$custom: #8738af; $custom-light: #ae75c7; $custom-dark: #000000;
JSON
{
"hex": "#8738af",
"rgb": {
"r": 135,
"g": 56,
"b": 175
},
"hsl": {
"h": 279.832,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.50342,
"c": 0.18684,
"h": 312.1
},
"luminance": 0.11074
}Semantic roles & 50–950 ramp
primary
#8738AF
secondary
#96C380
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82