#795CDF#795CDF
#795CDF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.191 H 289.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #795CDF |
|---|---|
| RGB | rgb(121, 92, 223) |
| HSL | hsl(253, 67%, 62%) |
| HSV | hsv(253, 59%, 87%) |
| CMYK | cmyk(45.7%, 58.7%, 0%, 12.5%) |
| CIE-LAB | lab(48.32, 43.25, -63.16) |
| CIE-LCH | lch(48.32, 76.55, 304.40°) |
| OKLab | oklab(57.26% 0.0626 -0.1804) |
| OKLCH | oklch(57.26% 0.191 289.1) |
| XYZ | xyz(25.0278, 17.0460, 71.7692) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.92
Light Indigo
#6D5ACF
ΔE00 3.17
Slate Blue
#6A5ACD
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 4.11
Mediumslateblue
#7B68EE
ΔE00 4.31
Iris
#6258C4
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CDF #C2DF5C
analogous
#5C81DF #795CDF #BA5CDF
triadic
#795CDF #DF795C #5CDF79
tetradic
#795CDF #DF5C81 #C2DF5C #5CDFBA
square
#795CDF #DF5C81 #C2DF5C #5CDFBA
split-complementary
#795CDF #DFBA5C #81DF5C
monochromatic
#3C20A1 #4F2AD4 #795CDF #A38FE9 #CDC2F3
Accessibility & contrast
On white
4.76
#795CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#795CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CDF
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CDF | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#597A95
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795cdf; /* rgb */ color: rgb(121, 92, 223); /* oklch */ color: oklch(57.3% 0.191 289.1);
Tailwind
colors: {
custom: {
50: '#a68bea',
500: '#795cdf',
950: '#000000',
},
}SCSS
$custom: #795cdf; $custom-light: #a68bea; $custom-dark: #000000;
JSON
{
"hex": "#795cdf",
"rgb": {
"r": 121,
"g": 92,
"b": 223
},
"hsl": {
"h": 253.282,
"s": 67.179,
"l": 61.765
},
"oklch": {
"l": 0.5726,
"c": 0.19091,
"h": 289.1
},
"luminance": 0.17047
}Semantic roles & 50–950 ramp
primary
#795CDF
secondary
#D9E4B3
accent
#CF16A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84