#765CCD#765CCD
#765CCD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.168 H 290.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #765CCD |
|---|---|
| RGB | rgb(118, 92, 205) |
| HSL | hsl(254, 53%, 58%) |
| HSV | hsv(254, 55%, 80%) |
| CMYK | cmyk(42.4%, 55.1%, 0%, 19.6%) |
| CIE-LAB | lab(46.86, 37.50, -55.26) |
| CIE-LCH | lch(46.86, 66.79, 304.16°) |
| OKLab | oklab(55.74% 0.0588 -0.1572) |
| OKLCH | oklch(55.74% 0.168 290.5) |
| XYZ | xyz(22.3148, 15.9129, 59.6415) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.85
Slate Blue
#6A5ACD
ΔE00 2.35
Dark Periwinkle
#665FD1
ΔE00 3.44
Iris
#6258C4
ΔE00 4.04
Purpley
#8756E4
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765CCD #B3CD5C
analogous
#5C7ACD #765CCD #AE5CCD
triadic
#765CCD #CD765C #5CCD76
tetradic
#765CCD #CD5C7A #B3CD5C #5CCDAE
square
#765CCD #CD5C7A #B3CD5C #5CCDAE
split-complementary
#765CCD #CDAE5C #7ACD5C
monochromatic
#3E2986 #5437B4 #765CCD #9D8BDB #C5BAEA
Accessibility & contrast
On white
5.02
#765CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#765CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765CCD
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765CCD | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#5D748C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #765ccd; /* rgb */ color: rgb(118, 92, 205); /* oklch */ color: oklch(55.7% 0.168 290.5);
Tailwind
colors: {
custom: {
50: '#a38bdd',
500: '#765ccd',
950: '#000000',
},
}SCSS
$custom: #765ccd; $custom-light: #a38bdd; $custom-dark: #000000;
JSON
{
"hex": "#765ccd",
"rgb": {
"r": 118,
"g": 92,
"b": 205
},
"hsl": {
"h": 253.805,
"s": 53.052,
"l": 58.235
},
"oklch": {
"l": 0.55743,
"c": 0.16786,
"h": 290.5
},
"luminance": 0.15914
}Semantic roles & 50–950 ramp
primary
#765CCD
secondary
#CFD9AC
accent
#DC4BBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83