#B262CD#B262CD
#B262CD is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.0% C 0.173 H 317.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B262CD |
|---|---|
| RGB | rgb(178, 98, 205) |
| HSL | hsl(285, 52%, 59%) |
| HSV | hsv(285, 52%, 80%) |
| CMYK | cmyk(13.2%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(54.67, 49.45, -42.43) |
| CIE-LCH | lch(54.67, 65.16, 319.37°) |
| OKLab | oklab(62.99% 0.1265 -0.118) |
| OKLCH | oklch(62.99% 0.173 317) |
| XYZ | xyz(33.7456, 22.6093, 60.3322) |
| Luminance | 0.2261 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.90
Amethyst
#9B5FC0
ΔE00 4.84
Soft Purple
#A66FB5
ΔE00 6.05
Pinky Purple
#C94CBE
ΔE00 6.43
Pinkish Purple
#D648D7
ΔE00 6.56
Deep Lilac
#966EBD
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B262CD #7DCD62
analogous
#7D62CD #B262CD #CD62B3
triadic
#B262CD #CDB262 #62CDB2
tetradic
#B262CD #CD7D62 #7DCD62 #62B3CD
square
#B262CD #CD7D62 #7DCD62 #62B3CD
split-complementary
#B262CD #B3CD62 #62CD7D
monochromatic
#712C89 #983AB7 #B262CD #C990DC #E0BFEB
Accessibility & contrast
On white
3.80
#B262CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#B262CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B262CD
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B262CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B262CD | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#6585CA
Tritanopia (blue-blind)
#B1728E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b262cd; /* rgb */ color: rgb(178, 98, 205); /* oklch */ color: oklch(63.0% 0.173 317.0);
Tailwind
colors: {
custom: {
50: '#cb92dd',
500: '#b262cd',
950: '#000000',
},
}SCSS
$custom: #b262cd; $custom-light: #cb92dd; $custom-dark: #000000;
JSON
{
"hex": "#b262cd",
"rgb": {
"r": 178,
"g": 98,
"b": 205
},
"hsl": {
"h": 284.86,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.62988,
"c": 0.17303,
"h": 317
},
"luminance": 0.22608
}Semantic roles & 50–950 ramp
primary
#B262CD
secondary
#BBDAB1
accent
#DB4D71
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83