#765CCB#765CCB
#765CCB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.165 H 290.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #765CCB |
|---|---|
| RGB | rgb(118, 92, 203) |
| HSL | hsl(254, 52%, 58%) |
| HSV | hsv(254, 55%, 80%) |
| CMYK | cmyk(41.9%, 54.7%, 0%, 20.4%) |
| CIE-LAB | lab(46.73, 36.94, -54.32) |
| CIE-LCH | lch(46.73, 65.69, 304.22°) |
| OKLab | oklab(55.61% 0.0587 -0.1544) |
| OKLCH | oklch(55.61% 0.165 290.8) |
| XYZ | xyz(22.0749, 15.8170, 58.3782) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.96
Slate Blue
#6A5ACD
ΔE00 2.41
Dark Periwinkle
#665FD1
ΔE00 3.56
Iris
#6258C4
ΔE00 3.99
Purpley
#8756E4
ΔE00 4.76
Mediumslateblue
#7B68EE
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#765CCB #B1CB5C
analogous
#5C79CB #765CCB #AD5CCB
triadic
#765CCB #CB765C #5CCB76
tetradic
#765CCB #CB5C79 #B1CB5C #5CCBAD
square
#765CCB #CB5C79 #B1CB5C #5CCBAD
split-complementary
#765CCB #CBAD5C #79CB5C
monochromatic
#3F2A83 #5539B1 #765CCB #9D8ADA #C4B9E9
Accessibility & contrast
On white
5.04
#765CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#765CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #765CCB
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##765CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##765CCB | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#296CC9
Tritanopia (blue-blind)
#5E748B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #765ccb; /* rgb */ color: rgb(118, 92, 203); /* oklch */ color: oklch(55.6% 0.165 290.8);
Tailwind
colors: {
custom: {
50: '#a28bdb',
500: '#765ccb',
950: '#000000',
},
}SCSS
$custom: #765ccb; $custom-light: #a28bdb; $custom-dark: #000000;
JSON
{
"hex": "#765ccb",
"rgb": {
"r": 118,
"g": 92,
"b": 203
},
"hsl": {
"h": 254.054,
"s": 51.628,
"l": 57.843
},
"oklch": {
"l": 0.55609,
"c": 0.16524,
"h": 290.8
},
"luminance": 0.15818
}Semantic roles & 50–950 ramp
primary
#765CCB
secondary
#CDD8AB
accent
#DB4DBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83