#795CDD#795CDD
#795CDD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.188 H 289.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #795CDD |
|---|---|
| RGB | rgb(121, 92, 221) |
| HSL | hsl(253, 65%, 61%) |
| HSV | hsv(253, 58%, 87%) |
| CMYK | cmyk(45.2%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(48.18, 42.68, -62.25) |
| CIE-LCH | lch(48.18, 75.47, 304.44°) |
| OKLab | oklab(57.12% 0.0626 -0.1777) |
| OKLCH | oklch(57.12% 0.188 289.4) |
| XYZ | xyz(24.7598, 16.9388, 70.3575) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.98
Light Indigo
#6D5ACF
ΔE00 2.98
Slate Blue
#6A5ACD
ΔE00 3.56
Dark Periwinkle
#665FD1
ΔE00 4.01
Mediumslateblue
#7B68EE
ΔE00 4.48
Iris
#6258C4
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CDD #C0DD5C
analogous
#5C80DD #795CDD #B95CDD
triadic
#795CDD #DD795C #5CDD79
tetradic
#795CDD #DD5C80 #C0DD5C #5CDDB9
square
#795CDD #DD5C80 #C0DD5C #5CDDB9
split-complementary
#795CDD #DDB95C #80DD5C
monochromatic
#3D219E #512BD0 #795CDD #A38FE8 #CCC1F2
Accessibility & contrast
On white
4.79
#795CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#795CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CDD
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CDD | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#5A7994
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795cdd; /* rgb */ color: rgb(121, 92, 221); /* oklch */ color: oklch(57.1% 0.188 289.4);
Tailwind
colors: {
custom: {
50: '#a68be8',
500: '#795cdd',
950: '#000000',
},
}SCSS
$custom: #795cdd; $custom-light: #a68be8; $custom-dark: #000000;
JSON
{
"hex": "#795cdd",
"rgb": {
"r": 121,
"g": 92,
"b": 221
},
"hsl": {
"h": 253.488,
"s": 65.482,
"l": 61.373
},
"oklch": {
"l": 0.57118,
"c": 0.18839,
"h": 289.4
},
"luminance": 0.1694
}Semantic roles & 50–950 ramp
primary
#795CDD
secondary
#D8E3B2
accent
#CD18A5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84