#795DDF#795DDF
#795DDF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.190 H 288.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #795DDF |
|---|---|
| RGB | rgb(121, 93, 223) |
| HSL | hsl(253, 67%, 62%) |
| HSV | hsv(253, 58%, 87%) |
| CMYK | cmyk(45.7%, 58.3%, 0%, 12.5%) |
| CIE-LAB | lab(48.54, 42.67, -62.81) |
| CIE-LCH | lch(48.54, 75.94, 304.19°) |
| OKLab | oklab(57.42% 0.0615 -0.1793) |
| OKLCH | oklch(57.42% 0.19 288.9) |
| XYZ | xyz(25.1150, 17.2204, 71.7983) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 3.25
Slate Blue
#6A5ACD
ΔE00 3.80
Dark Periwinkle
#665FD1
ΔE00 4.05
Mediumslateblue
#7B68EE
ΔE00 4.06
Iris
#6258C4
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795DDF #C3DF5D
analogous
#5D82DF #795DDF #BA5DDF
triadic
#795DDF #DF795D #5DDF79
tetradic
#795DDF #DF5D82 #C3DF5D #5DDFBA
square
#795DDF #DF5D82 #C3DF5D #5DDFBA
split-complementary
#795DDF #DFBA5D #82DF5D
monochromatic
#3C20A2 #4F2AD5 #795DDF #A390E9 #CEC3F3
Accessibility & contrast
On white
4.73
#795DDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#795DDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795DDF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795DDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795DDF | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#597A95
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #795ddf; /* rgb */ color: rgb(121, 93, 223); /* oklch */ color: oklch(57.4% 0.190 288.9);
Tailwind
colors: {
custom: {
50: '#a68cea',
500: '#795ddf',
950: '#000000',
},
}SCSS
$custom: #795ddf; $custom-light: #a68cea; $custom-dark: #000000;
JSON
{
"hex": "#795ddf",
"rgb": {
"r": 121,
"g": 93,
"b": 223
},
"hsl": {
"h": 252.923,
"s": 67.01,
"l": 61.961
},
"oklch": {
"l": 0.57421,
"c": 0.18957,
"h": 288.9
},
"luminance": 0.17221
}Semantic roles & 50–950 ramp
primary
#795DDF
secondary
#DAE4B4
accent
#CF17A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84