#795DCF#795DCF
#795DCF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.169 H 291.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #795DCF |
|---|---|
| RGB | rgb(121, 93, 207) |
| HSL | hsl(255, 54%, 59%) |
| HSV | hsv(255, 55%, 81%) |
| CMYK | cmyk(41.5%, 55.1%, 0%, 18.8%) |
| CIE-LAB | lab(47.49, 38.17, -55.38) |
| CIE-LCH | lch(47.49, 67.26, 304.58°) |
| OKLab | oklab(56.32% 0.0615 -0.1575) |
| OKLCH | oklch(56.32% 0.169 291.3) |
| XYZ | xyz(23.0589, 16.3980, 60.9696) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.43
Slate Blue
#6A5ACD
ΔE00 2.96
Dark Periwinkle
#665FD1
ΔE00 3.84
Purpley
#8756E4
ΔE00 4.10
Iris
#6258C4
ΔE00 4.71
Mediumslateblue
#7B68EE
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DCF #B3CF5D
analogous
#5D7ACF #795DCF #B25DCF
triadic
#795DCF #CF795D #5DCF79
tetradic
#795DCF #CF5D7A #B3CF5D #5DCFB2
square
#795DCF #CF5D7A #B3CF5D #5DCFB2
split-complementary
#795DCF #CFB25D #7ACF5D
monochromatic
#402989 #5637B8 #795DCF #A08CDD #C7BBEB
Accessibility & contrast
On white
4.91
#795DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#795DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DCF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DCF | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#296ECC
Tritanopia (blue-blind)
#61758D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795dcf; /* rgb */ color: rgb(121, 93, 207); /* oklch */ color: oklch(56.3% 0.169 291.3);
Tailwind
colors: {
custom: {
50: '#a58cde',
500: '#795dcf',
950: '#000000',
},
}SCSS
$custom: #795dcf; $custom-light: #a58cde; $custom-dark: #000000;
JSON
{
"hex": "#795dcf",
"rgb": {
"r": 121,
"g": 93,
"b": 207
},
"hsl": {
"h": 254.737,
"s": 54.286,
"l": 58.824
},
"oklch": {
"l": 0.56318,
"c": 0.16904,
"h": 291.3
},
"luminance": 0.16399
}Semantic roles & 50–950 ramp
primary
#795DCF
secondary
#CFDAAD
accent
#DE4AB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83