#7F59CC#7F59CC
#7F59CC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.0% C 0.171 H 295.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7F59CC |
|---|---|
| RGB | rgb(127, 89, 204) |
| HSL | hsl(260, 53%, 57%) |
| HSV | hsv(260, 56%, 80%) |
| CMYK | cmyk(37.7%, 56.4%, 0%, 20%) |
| CIE-LAB | lab(47.00, 41.04, -54.42) |
| CIE-LCH | lch(47.00, 68.16, 307.02°) |
| OKLab | oklab(56.03% 0.074 -0.1545) |
| OKLCH | oklch(56.03% 0.171 295.6) |
| XYZ | xyz(23.2210, 16.0160, 58.9830) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.65
Purpley
#8756E4
ΔE00 3.68
Slate Blue
#6A5ACD
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 5.50
Deep Lavender
#8D5EB7
ΔE00 5.65
Iris
#6258C4
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F59CC #A6CC59
analogous
#596DCC #7F59CC #B859CC
triadic
#7F59CC #CC7F59 #59CC7F
tetradic
#7F59CC #CC596D #A6CC59 #59CCB8
square
#7F59CC #CC596D #A6CC59 #59CCB8
split-complementary
#7F59CC #CCB859 #6DCC59
monochromatic
#462883 #5F36B1 #7F59CC #A388DA #C7B7E9
Accessibility & contrast
On white
5.00
#7F59CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#7F59CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F59CC
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F59CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F59CC | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#6C718A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7f59cc; /* rgb */ color: rgb(127, 89, 204); /* oklch */ color: oklch(56.0% 0.171 295.6);
Tailwind
colors: {
custom: {
50: '#a889dc',
500: '#7f59cc',
950: '#000000',
},
}SCSS
$custom: #7f59cc; $custom-light: #a889dc; $custom-dark: #000000;
JSON
{
"hex": "#7f59cc",
"rgb": {
"r": 127,
"g": 89,
"b": 204
},
"hsl": {
"h": 259.826,
"s": 52.995,
"l": 57.451
},
"oklch": {
"l": 0.56028,
"c": 0.17131,
"h": 295.6
},
"luminance": 0.16016
}Semantic roles & 50–950 ramp
primary
#7F59CC
secondary
#C8D8A9
accent
#DC4BAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83