#B064E2#B064E2
#B064E2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.192 H 309.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B064E2 |
|---|---|
| RGB | rgb(176, 100, 226) |
| HSL | hsl(276, 68%, 64%) |
| HSV | hsv(276, 56%, 89%) |
| CMYK | cmyk(22.1%, 55.8%, 0%, 11.4%) |
| CIE-LAB | lab(55.92, 52.37, -52.33) |
| CIE-LCH | lch(55.92, 74.04, 315.02°) |
| OKLab | oklab(64.22% 0.1229 -0.147) |
| OKLCH | oklch(64.22% 0.192 309.9) |
| XYZ | xyz(36.1865, 23.8361, 74.6313) |
| Luminance | 0.2384 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.02
Lighter Purple
#A55AF4
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 4.50
Bright Lilac
#C95EFB
ΔE00 4.84
Bright Lavender
#C760FF
ΔE00 4.96
Lightish Purple
#A552E6
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B064E2 #96E264
analogous
#7164E2 #B064E2 #E264D5
triadic
#B064E2 #E2B064 #64E2B0
tetradic
#B064E2 #E27164 #96E264 #64D5E2
square
#B064E2 #E27164 #96E264 #64D5E2
split-complementary
#B064E2 #D5E264 #64E271
monochromatic
#7420AC #9630D8 #B064E2 #CA98EC #E5CBF5
Accessibility & contrast
On white
3.64
#B064E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#B064E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B064E2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B064E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B064E2 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B83E6
Deuteranopia (green-blind)
#5787DF
Tritanopia (blue-blind)
#A97B9A
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #b064e2; /* rgb */ color: rgb(176, 100, 226); /* oklch */ color: oklch(64.2% 0.192 309.9);
Tailwind
colors: {
custom: {
50: '#cb93ec',
500: '#b064e2',
950: '#000000',
},
}SCSS
$custom: #b064e2; $custom-light: #cb93ec; $custom-dark: #000000;
JSON
{
"hex": "#b064e2",
"rgb": {
"r": 176,
"g": 100,
"b": 226
},
"hsl": {
"h": 276.19,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.64219,
"c": 0.19159,
"h": 309.9
},
"luminance": 0.23835
}Semantic roles & 50–950 ramp
primary
#B064E2
secondary
#CCE7BB
accent
#D0155F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84