#762FBC#762FBC
#762FBC is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.206 H 301.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #762FBC |
|---|---|
| RGB | rgb(118, 47, 188) |
| HSL | hsl(270, 60%, 46%) |
| HSV | hsv(270, 75%, 74%) |
| CMYK | cmyk(37.2%, 75%, 0%, 26.3%) |
| CIE-LAB | lab(36.96, 56.52, -61.41) |
| CIE-LCH | lch(36.96, 83.46, 312.62°) |
| OKLab | oklab(48.2% 0.1091 -0.1752) |
| OKLCH | oklch(48.2% 0.206 301.9) |
| XYZ | xyz(17.5626, 9.5153, 48.4786) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 5.33
Bluey Purple
#6241C7
ΔE00 5.40
Darkviolet
#9400D3
ΔE00 5.50
Rebeccapurple
#663399
ΔE00 5.64
Blueviolet
#8A2BE2
ΔE00 5.83
Burple
#6832E3
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762FBC #75BC2F
analogous
#302FBC #762FBC #BC2FBB
triadic
#762FBC #BC762F #2FBC76
tetradic
#762FBC #BC302F #75BC2F #2FBBBC
square
#762FBC #BC302F #75BC2F #2FBBBC
split-complementary
#762FBC #BBBC2F #2FBC30
monochromatic
#39175A #57238B #762FBC #9554D4 #B385E0
Accessibility & contrast
On white
7.23
#762FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#762FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762FBC
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762FBC | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#675374
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #762fbc; /* rgb */ color: rgb(118, 47, 188); /* oklch */ color: oklch(48.2% 0.206 301.9);
Tailwind
colors: {
custom: {
50: '#a46fd1',
500: '#762fbc',
950: '#000000',
},
}SCSS
$custom: #762fbc; $custom-light: #a46fd1; $custom-dark: #000000;
JSON
{
"hex": "#762fbc",
"rgb": {
"r": 118,
"g": 47,
"b": 188
},
"hsl": {
"h": 270.213,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.48199,
"c": 0.20639,
"h": 301.9
},
"luminance": 0.09515
}Semantic roles & 50–950 ramp
primary
#762FBC
secondary
#A3CA7D
accent
#E34593
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83