#795FDD#795FDD
#795FDD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.184 H 288.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #795FDD |
|---|---|
| RGB | rgb(121, 95, 221) |
| HSL | hsl(252, 65%, 62%) |
| HSV | hsv(252, 57%, 87%) |
| CMYK | cmyk(45.2%, 57%, 0%, 13.3%) |
| CIE-LAB | lab(48.85, 40.96, -61.18) |
| CIE-LCH | lch(48.85, 73.62, 303.80°) |
| OKLab | oklab(57.61% 0.0593 -0.1745) |
| OKLCH | oklch(57.61% 0.184 288.8) |
| XYZ | xyz(25.0248, 17.4689, 70.4459) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.28
Purpley
#8756E4
ΔE00 3.48
Mediumslateblue
#7B68EE
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 3.88
Iris
#6258C4
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795FDD #C3DD5F
analogous
#5F84DD #795FDD #B85FDD
triadic
#795FDD #DD795F #5FDD79
tetradic
#795FDD #DD5F84 #C3DD5F #5FDDB8
square
#795FDD #DD5F84 #C3DD5F #5FDDB8
split-complementary
#795FDD #DDB85F #84DD5F
monochromatic
#3C22A0 #4F2DD2 #795FDD #A391E8 #CEC4F2
Accessibility & contrast
On white
4.67
#795FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#795FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795FDD
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795FDD | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0577E1
Deuteranopia (green-blind)
#0D71DA
Tritanopia (blue-blind)
#5A7B95
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #795fdd; /* rgb */ color: rgb(121, 95, 221); /* oklch */ color: oklch(57.6% 0.184 288.8);
Tailwind
colors: {
custom: {
50: '#a68de8',
500: '#795fdd',
950: '#000000',
},
}SCSS
$custom: #795fdd; $custom-light: #a68de8; $custom-dark: #000000;
JSON
{
"hex": "#795fdd",
"rgb": {
"r": 121,
"g": 95,
"b": 221
},
"hsl": {
"h": 252.381,
"s": 64.948,
"l": 61.961
},
"oklch": {
"l": 0.57606,
"c": 0.18431,
"h": 288.8
},
"luminance": 0.1747
}Semantic roles & 50–950 ramp
primary
#795FDD
secondary
#DAE3B5
accent
#CD19A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84