#762FBE#762FBE
#762FBE is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.208 H 301.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #762FBE |
|---|---|
| RGB | rgb(118, 47, 190) |
| HSL | hsl(270, 60%, 46%) |
| HSV | hsv(270, 75%, 75%) |
| CMYK | cmyk(37.9%, 75.3%, 0%, 25.5%) |
| CIE-LAB | lab(37.12, 57.00, -62.33) |
| CIE-LCH | lch(37.12, 84.46, 312.44°) |
| OKLab | oklab(48.36% 0.1086 -0.1779) |
| OKLCH | oklch(48.36% 0.208 301.4) |
| XYZ | xyz(17.7797, 9.6022, 49.6219) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 5.17
Bluey Purple
#6241C7
ΔE00 5.25
Darkviolet
#9400D3
ΔE00 5.40
Burple
#6832E3
ΔE00 5.56
Blueviolet
#8A2BE2
ΔE00 5.60
Rebeccapurple
#663399
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762FBE #77BE2F
analogous
#2F30BE #762FBE #BE2FBE
triadic
#762FBE #BE762F #2FBE76
tetradic
#762FBE #BE2F30 #77BE2F #2FBEBE
square
#762FBE #BE2F30 #77BE2F #2FBEBE
split-complementary
#762FBE #BEBE2F #30BE2F
monochromatic
#39175C #58238D #762FBE #9555D5 #B386E1
Accessibility & contrast
On white
7.19
#762FBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#762FBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762FBE
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762FBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762FBE | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#665475
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #762fbe; /* rgb */ color: rgb(118, 47, 190); /* oklch */ color: oklch(48.4% 0.208 301.4);
Tailwind
colors: {
custom: {
50: '#a46fd3',
500: '#762fbe',
950: '#000000',
},
}SCSS
$custom: #762fbe; $custom-light: #a46fd3; $custom-dark: #000000;
JSON
{
"hex": "#762fbe",
"rgb": {
"r": 118,
"g": 47,
"b": 190
},
"hsl": {
"h": 269.79,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.48362,
"c": 0.20843,
"h": 301.4
},
"luminance": 0.09602
}Semantic roles & 50–950 ramp
primary
#762FBE
secondary
#A5CB7E
accent
#E34494
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83