#762BC2#762BC2
#762BC2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.216 H 300.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #762BC2 |
|---|---|
| RGB | rgb(118, 43, 194) |
| HSL | hsl(270, 64%, 46%) |
| HSV | hsv(270, 78%, 76%) |
| CMYK | cmyk(39.2%, 77.8%, 0%, 23.9%) |
| CIE-LAB | lab(36.88, 59.57, -65.06) |
| CIE-LCH | lch(36.88, 88.21, 312.48°) |
| OKLab | oklab(48.3% 0.111 -0.1859) |
| OKLCH | oklch(48.3% 0.217 300.8) |
| XYZ | xyz(18.0703, 9.4742, 51.9052) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.62
Darkviolet
#9400D3
ΔE00 5.06
Burple
#6832E3
ΔE00 5.18
Blueviolet
#8A2BE2
ΔE00 5.34
Bluey Purple
#6241C7
ΔE00 5.45
Blurple
#5539CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762BC2 #77C22B
analogous
#2B2CC2 #762BC2 #C22BC2
triadic
#762BC2 #C2762B #2BC276
tetradic
#762BC2 #C22B2C #77C22B #2BC2C2
square
#762BC2 #C22B2C #77C22B #2BC2C2
split-complementary
#762BC2 #C2C22B #2CC22B
monochromatic
#39155E #582090 #762BC2 #9552D9 #B384E4
Accessibility & contrast
On white
7.25
#762BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#762BC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762BC2
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762BC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762BC2 | 1.00 | 7.25 | 2.89 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#655476
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #762bc2; /* rgb */ color: rgb(118, 43, 194); /* oklch */ color: oklch(48.3% 0.216 300.8);
Tailwind
colors: {
custom: {
50: '#a46dd6',
500: '#762bc2',
950: '#000000',
},
}SCSS
$custom: #762bc2; $custom-light: #a46dd6; $custom-dark: #000000;
JSON
{
"hex": "#762bc2",
"rgb": {
"r": 118,
"g": 43,
"b": 194
},
"hsl": {
"h": 269.801,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.48298,
"c": 0.2165,
"h": 300.8
},
"luminance": 0.09474
}Semantic roles & 50–950 ramp
primary
#762BC2
secondary
#A5CD7C
accent
#E74194
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83