#795FCA#795FCA
#795FCA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.3% C 0.160 H 291.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #795FCA |
|---|---|
| RGB | rgb(121, 95, 202) |
| HSL | hsl(255, 50%, 58%) |
| HSV | hsv(255, 53%, 79%) |
| CMYK | cmyk(40.1%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(47.64, 35.61, -52.27) |
| CIE-LCH | lch(47.64, 63.25, 304.26°) |
| OKLab | oklab(56.33% 0.0589 -0.1483) |
| OKLCH | oklch(56.33% 0.16 291.6) |
| XYZ | xyz(22.6351, 16.5130, 57.8604) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.89
Slate Blue
#6A5ACD
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 4.01
Iris
#6258C4
ΔE00 4.80
Purpley
#8756E4
ΔE00 4.90
Mediumslateblue
#7B68EE
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FCA #B0CA5F
analogous
#5F7ACA #795FCA #AE5FCA
triadic
#795FCA #CA795F #5FCA79
tetradic
#795FCA #CA5F7A #B0CA5F #5FCAAE
square
#795FCA #CA5F7A #B0CA5F #5FCAAE
split-complementary
#795FCA #CAAE5F #7ACA5F
monochromatic
#412B83 #573BB1 #795FCA #9F8DD9 #C6BBE8
Accessibility & contrast
On white
4.88
#795FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#795FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FCA
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FCA | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#63758B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #795fca; /* rgb */ color: rgb(121, 95, 202); /* oklch */ color: oklch(56.3% 0.160 291.6);
Tailwind
colors: {
custom: {
50: '#a48ddb',
500: '#795fca',
950: '#000000',
},
}SCSS
$custom: #795fca; $custom-light: #a48ddb; $custom-dark: #000000;
JSON
{
"hex": "#795fca",
"rgb": {
"r": 121,
"g": 95,
"b": 202
},
"hsl": {
"h": 254.579,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.56328,
"c": 0.15959,
"h": 291.6
},
"luminance": 0.16514
}Semantic roles & 50–950 ramp
primary
#795FCA
secondary
#CDD8AD
accent
#DA4EB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83