#795FC9#795FC9
#795FC9 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.158 H 291.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #795FC9 |
|---|---|
| RGB | rgb(121, 95, 201) |
| HSL | hsl(255, 50%, 58%) |
| HSV | hsv(255, 53%, 79%) |
| CMYK | cmyk(39.8%, 52.7%, 0%, 21.2%) |
| CIE-LAB | lab(47.58, 35.33, -51.79) |
| CIE-LCH | lch(47.58, 62.70, 304.30°) |
| OKLab | oklab(56.26% 0.0588 -0.1469) |
| OKLCH | oklch(56.26% 0.158 291.8) |
| XYZ | xyz(22.5171, 16.4658, 57.2389) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.34
Dark Periwinkle
#665FD1
ΔE00 4.08
Iris
#6258C4
ΔE00 4.80
Purpley
#8756E4
ΔE00 5.02
Deep Lavender
#8D5EB7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FC9 #AFC95F
analogous
#5F7AC9 #795FC9 #AE5FC9
triadic
#795FC9 #C9795F #5FC979
tetradic
#795FC9 #C95F7A #AFC95F #5FC9AE
square
#795FC9 #C95F7A #AFC95F #5FC9AE
split-complementary
#795FC9 #C9AE5F #7AC95F
monochromatic
#412C82 #583BB0 #795FC9 #9F8DD8 #C6BBE8
Accessibility & contrast
On white
4.89
#795FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#795FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FC9
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FC9 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3072CD
Deuteranopia (green-blind)
#356FC7
Tritanopia (blue-blind)
#64758B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795fc9; /* rgb */ color: rgb(121, 95, 201); /* oklch */ color: oklch(56.3% 0.158 291.8);
Tailwind
colors: {
custom: {
50: '#a48dda',
500: '#795fc9',
950: '#000000',
},
}SCSS
$custom: #795fc9; $custom-light: #a48dda; $custom-dark: #000000;
JSON
{
"hex": "#795fc9",
"rgb": {
"r": 121,
"g": 95,
"b": 201
},
"hsl": {
"h": 254.717,
"s": 49.533,
"l": 58.039
},
"oklch": {
"l": 0.56264,
"c": 0.15827,
"h": 291.8
},
"luminance": 0.16466
}Semantic roles & 50–950 ramp
primary
#795FC9
secondary
#CDD7AD
accent
#D94FB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83