#B262CE#B262CE
#B262CE is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.0% C 0.174 H 316.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B262CE |
|---|---|
| RGB | rgb(178, 98, 206) |
| HSL | hsl(284, 52%, 60%) |
| HSV | hsv(284, 52%, 81%) |
| CMYK | cmyk(13.6%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(54.72, 49.65, -42.92) |
| CIE-LCH | lch(54.72, 65.63, 319.16°) |
| OKLab | oklab(63.04% 0.1266 -0.1195) |
| OKLCH | oklch(63.04% 0.174 316.7) |
| XYZ | xyz(33.8667, 22.6577, 60.9699) |
| Luminance | 0.2266 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.86
Amethyst
#9B5FC0
ΔE00 4.86
Soft Purple
#A66FB5
ΔE00 6.18
Pinky Purple
#C94CBE
ΔE00 6.54
Pinkish Purple
#D648D7
ΔE00 6.57
Lightish Purple
#A552E6
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B262CE #7ECE62
analogous
#7C62CE #B262CE #CE62B4
triadic
#B262CE #CEB262 #62CEB2
tetradic
#B262CE #CE7C62 #7ECE62 #62B4CE
square
#B262CE #CE7C62 #7ECE62 #62B4CE
split-complementary
#B262CE #B4CE62 #62CE7C
monochromatic
#722B8A #983AB9 #B262CE #C991DD #E0BFEB
Accessibility & contrast
On white
3.80
#B262CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#B262CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B262CE
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B262CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B262CE | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#6485CB
Tritanopia (blue-blind)
#B1738F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b262ce; /* rgb */ color: rgb(178, 98, 206); /* oklch */ color: oklch(63.0% 0.174 316.7);
Tailwind
colors: {
custom: {
50: '#cb92dd',
500: '#b262ce',
950: '#000000',
},
}SCSS
$custom: #b262ce; $custom-light: #cb92dd; $custom-dark: #000000;
JSON
{
"hex": "#b262ce",
"rgb": {
"r": 178,
"g": 98,
"b": 206
},
"hsl": {
"h": 284.444,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.63042,
"c": 0.17408,
"h": 316.7
},
"luminance": 0.22657
}Semantic roles & 50–950 ramp
primary
#B262CE
secondary
#BCDBB1
accent
#DC4C71
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83