#795FCF#795FCF
#795FCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.166 H 290.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #795FCF |
|---|---|
| RGB | rgb(121, 95, 207) |
| HSL | hsl(254, 54%, 59%) |
| HSV | hsv(254, 54%, 81%) |
| CMYK | cmyk(41.5%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(47.95, 37.01, -54.65) |
| CIE-LCH | lch(47.95, 66.00, 304.11°) |
| OKLab | oklab(56.66% 0.0591 -0.1553) |
| OKLCH | oklch(56.66% 0.166 290.8) |
| XYZ | xyz(23.2368, 16.7536, 61.0289) |
| Luminance | 0.1675 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.68
Slate Blue
#6A5ACD
ΔE00 3.16
Dark Periwinkle
#665FD1
ΔE00 3.73
Purpley
#8756E4
ΔE00 4.38
Iris
#6258C4
ΔE00 4.89
Mediumslateblue
#7B68EE
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FCF #B5CF5F
analogous
#5F7DCF #795FCF #B15FCF
triadic
#795FCF #CF795F #5FCF79
tetradic
#795FCF #CF5F7D #B5CF5F #5FCFB1
square
#795FCF #CF5F7D #B5CF5F #5FCFB1
split-complementary
#795FCF #CFB15F #7DCF5F
monochromatic
#40298A #5638B9 #795FCF #A08EDD #C8BDEB
Accessibility & contrast
On white
4.83
#795FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#795FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FCF
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FCF | 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)
#2974D3
Deuteranopia (green-blind)
#2D6FCD
Tritanopia (blue-blind)
#61778E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795fcf; /* rgb */ color: rgb(121, 95, 207); /* oklch */ color: oklch(56.7% 0.166 290.8);
Tailwind
colors: {
custom: {
50: '#a58dde',
500: '#795fcf',
950: '#000000',
},
}SCSS
$custom: #795fcf; $custom-light: #a58dde; $custom-dark: #000000;
JSON
{
"hex": "#795fcf",
"rgb": {
"r": 121,
"g": 95,
"b": 207
},
"hsl": {
"h": 253.929,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.56655,
"c": 0.16617,
"h": 290.8
},
"luminance": 0.16754
}Semantic roles & 50–950 ramp
primary
#795FCF
secondary
#D1DBAF
accent
#DD4BBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83