#795CDC#795CDC
#795CDC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.187 H 289.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #795CDC |
|---|---|
| RGB | rgb(121, 92, 220) |
| HSL | hsl(254, 65%, 61%) |
| HSV | hsv(254, 58%, 86%) |
| CMYK | cmyk(45%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(48.12, 42.40, -61.79) |
| CIE-LCH | lch(48.12, 74.94, 304.46°) |
| OKLab | oklab(57.05% 0.0626 -0.1763) |
| OKLCH | oklch(57.05% 0.187 289.6) |
| XYZ | xyz(24.6269, 16.8856, 69.6579) |
| Luminance | 0.1689 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.89
Purpley
#8756E4
ΔE00 3.01
Slate Blue
#6A5ACD
ΔE00 3.47
Dark Periwinkle
#665FD1
ΔE00 3.97
Mediumslateblue
#7B68EE
ΔE00 4.58
Iris
#6258C4
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#795CDC #BFDC5C
analogous
#5C7FDC #795CDC #B95CDC
triadic
#795CDC #DC795C #5CDC79
tetradic
#795CDC #DC5C7F #BFDC5C #5CDCB9
square
#795CDC #DC5C7F #BFDC5C #5CDCB9
split-complementary
#795CDC #DCB95C #7FDC5C
monochromatic
#3D229C #512CCE #795CDC #A28EE7 #CCC1F2
Accessibility & contrast
On white
4.80
#795CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#795CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #795CDC
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##795CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##795CDC | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#5B7993
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #795cdc; /* rgb */ color: rgb(121, 92, 220); /* oklch */ color: oklch(57.0% 0.187 289.6);
Tailwind
colors: {
custom: {
50: '#a68be8',
500: '#795cdc',
950: '#000000',
},
}SCSS
$custom: #795cdc; $custom-light: #a68be8; $custom-dark: #000000;
JSON
{
"hex": "#795cdc",
"rgb": {
"r": 121,
"g": 92,
"b": 220
},
"hsl": {
"h": 253.594,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.57047,
"c": 0.18711,
"h": 289.6
},
"luminance": 0.16887
}Semantic roles & 50–950 ramp
primary
#795CDC
secondary
#D7E2B2
accent
#CC19A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84