#795CE4#795CE4
#795CE4 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.197 H 288.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #795CE4 |
|---|---|
| RGB | rgb(121, 92, 228) |
| HSL | hsl(253, 72%, 63%) |
| HSV | hsv(253, 60%, 89%) |
| CMYK | cmyk(46.9%, 59.6%, 0%, 10.6%) |
| CIE-LAB | lab(48.66, 44.66, -65.44) |
| CIE-LCH | lch(48.66, 79.23, 304.31°) |
| OKLab | oklab(57.62% 0.0624 -0.1871) |
| OKLCH | oklch(57.62% 0.197 288.4) |
| XYZ | xyz(25.7119, 17.3196, 75.3720) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.90
Light Indigo
#6D5ACF
ΔE00 3.71
Mediumslateblue
#7B68EE
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.24
Dark Periwinkle
#665FD1
ΔE00 4.43
Iris
#6258C4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CE4 #C7E45C
analogous
#5C83E4 #795CE4 #BD5CE4
triadic
#795CE4 #E4795C #5CE479
tetradic
#795CE4 #E45C83 #C7E45C #5CE4BD
square
#795CE4 #E45C83 #C7E45C #5CE4BD
split-complementary
#795CE4 #E4BD5C #83E45C
monochromatic
#3A1CAA #4E27DB #795CE4 #A491ED #CFC5F5
Accessibility & contrast
On white
4.70
#795CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#795CE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CE4
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CE4 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#567B97
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #795ce4; /* rgb */ color: rgb(121, 92, 228); /* oklch */ color: oklch(57.6% 0.197 288.4);
Tailwind
colors: {
custom: {
50: '#a78bed',
500: '#795ce4',
950: '#000000',
},
}SCSS
$custom: #795ce4; $custom-light: #a78bed; $custom-dark: #000000;
JSON
{
"hex": "#795ce4",
"rgb": {
"r": 121,
"g": 92,
"b": 228
},
"hsl": {
"h": 252.794,
"s": 71.579,
"l": 62.745
},
"oklch": {
"l": 0.5762,
"c": 0.19718,
"h": 288.4
},
"luminance": 0.17321
}Semantic roles & 50–950 ramp
primary
#795CE4
secondary
#DCE7B5
accent
#D412AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84