#815FC2#815FC2
#815FC2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.150 H 297.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #815FC2 |
|---|---|
| RGB | rgb(129, 95, 194) |
| HSL | hsl(261, 45%, 57%) |
| HSV | hsv(261, 51%, 76%) |
| CMYK | cmyk(33.5%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(47.94, 35.44, -47.14) |
| CIE-LCH | lch(47.94, 58.98, 306.93°) |
| OKLab | oklab(56.58% 0.0685 -0.1331) |
| OKLCH | oklch(56.58% 0.15 297.2) |
| XYZ | xyz(22.8807, 16.7463, 53.0554) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.43
Purpley
#8756E4
ΔE00 5.62
Royal Purple
#7851A9
ΔE00 5.87
Amethyst
#9B5FC0
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#815FC2 #A0C25F
analogous
#5F6FC2 #815FC2 #B35FC2
triadic
#815FC2 #C2815F #5FC281
tetradic
#815FC2 #C25F6F #A0C25F #5FC2B3
square
#815FC2 #C25F6F #A0C25F #5FC2B3
split-complementary
#815FC2 #C2B35F #6FC25F
monochromatic
#482E79 #623FA5 #815FC2 #A48BD3 #C7B8E4
Accessibility & contrast
On white
4.83
#815FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#815FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #815FC2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##815FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##815FC2 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#737287
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #815fc2; /* rgb */ color: rgb(129, 95, 194); /* oklch */ color: oklch(56.6% 0.150 297.2);
Tailwind
colors: {
custom: {
50: '#a98dd5',
500: '#815fc2',
950: '#000000',
},
}SCSS
$custom: #815fc2; $custom-light: #a98dd5; $custom-dark: #000000;
JSON
{
"hex": "#815fc2",
"rgb": {
"r": 129,
"g": 95,
"b": 194
},
"hsl": {
"h": 260.606,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.5658,
"c": 0.14967,
"h": 297.2
},
"luminance": 0.16747
}Semantic roles & 50–950 ramp
primary
#815FC2
secondary
#C5D3AA
accent
#D453A8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83