#B262DC#B262DC
#B262DC is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.189 H 312.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B262DC |
|---|---|
| RGB | rgb(178, 98, 220) |
| HSL | hsl(279, 64%, 62%) |
| HSV | hsv(279, 55%, 86%) |
| CMYK | cmyk(19.1%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(55.45, 52.59, -49.69) |
| CIE-LCH | lch(55.45, 72.36, 316.62°) |
| OKLab | oklab(63.82% 0.1277 -0.1392) |
| OKLCH | oklch(63.82% 0.189 312.5) |
| XYZ | xyz(35.6438, 23.3685, 70.3292) |
| Luminance | 0.2337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.41
Light Urple
#B36FF6
ΔE00 5.09
Lightish Purple
#A552E6
ΔE00 5.18
Bright Lilac
#C95EFB
ΔE00 5.20
Lighter Purple
#A55AF4
ΔE00 5.24
Bright Lavender
#C760FF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B262DC #8CDC62
analogous
#7562DC #B262DC #DC62C9
triadic
#B262DC #DCB262 #62DCB2
tetradic
#B262DC #DC7562 #8CDC62 #62C9DC
square
#B262DC #DC7562 #8CDC62 #62C9DC
split-complementary
#B262DC #C9DC62 #62DC75
monochromatic
#7524A0 #9930D1 #B262DC #CB94E7 #E3C6F2
Accessibility & contrast
On white
3.70
#B262DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#B262DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B262DC
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B262DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B262DC | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F81E0
Deuteranopia (green-blind)
#5B87D9
Tritanopia (blue-blind)
#AE7796
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b262dc; /* rgb */ color: rgb(178, 98, 220); /* oklch */ color: oklch(63.8% 0.189 312.5);
Tailwind
colors: {
custom: {
50: '#cc92e7',
500: '#b262dc',
950: '#000000',
},
}SCSS
$custom: #b262dc; $custom-light: #cc92e7; $custom-dark: #000000;
JSON
{
"hex": "#b262dc",
"rgb": {
"r": 178,
"g": 98,
"b": 220
},
"hsl": {
"h": 279.344,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.63818,
"c": 0.18886,
"h": 312.5
},
"luminance": 0.23368
}Semantic roles & 50–950 ramp
primary
#B262DC
secondary
#C6E3B7
accent
#CB1A57
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84