#B262DB#B262DB
#B262DB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.8% C 0.188 H 312.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B262DB |
|---|---|
| RGB | rgb(178, 98, 219) |
| HSL | hsl(280, 63%, 62%) |
| HSV | hsv(280, 55%, 86%) |
| CMYK | cmyk(18.7%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(55.40, 52.38, -49.22) |
| CIE-LCH | lch(55.40, 71.87, 316.78°) |
| OKLab | oklab(63.76% 0.1276 -0.1378) |
| OKLCH | oklch(63.76% 0.188 312.8) |
| XYZ | xyz(35.5118, 23.3157, 69.6338) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.32
Light Urple
#B36FF6
ΔE00 5.22
Lightish Purple
#A552E6
ΔE00 5.26
Bright Lilac
#C95EFB
ΔE00 5.31
Lighter Purple
#A55AF4
ΔE00 5.38
Bright Lavender
#C760FF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B262DB #8BDB62
analogous
#7562DB #B262DB #DB62C8
triadic
#B262DB #DBB262 #62DBB2
tetradic
#B262DB #DB7562 #8BDB62 #62C8DB
square
#B262DB #DB7562 #8BDB62 #62C8DB
split-complementary
#B262DB #C8DB62 #62DB75
monochromatic
#75249E #9A30D0 #B262DB #CA94E6 #E3C6F2
Accessibility & contrast
On white
3.71
#B262DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#B262DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B262DB
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B262DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B262DB | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4080DF
Deuteranopia (green-blind)
#5C87D8
Tritanopia (blue-blind)
#AE7795
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b262db; /* rgb */ color: rgb(178, 98, 219); /* oklch */ color: oklch(63.8% 0.188 312.8);
Tailwind
colors: {
custom: {
50: '#cc92e7',
500: '#b262db',
950: '#000000',
},
}SCSS
$custom: #b262db; $custom-light: #cc92e7; $custom-dark: #000000;
JSON
{
"hex": "#b262db",
"rgb": {
"r": 178,
"g": 98,
"b": 219
},
"hsl": {
"h": 279.669,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.63761,
"c": 0.1878,
"h": 312.8
},
"luminance": 0.23315
}Semantic roles & 50–950 ramp
primary
#B262DB
secondary
#C5E3B6
accent
#CA1B56
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84