#B262CF#B262CF
#B262CF is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.1% C 0.175 H 316.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B262CF |
|---|---|
| RGB | rgb(178, 98, 207) |
| HSL | hsl(284, 53%, 60%) |
| HSV | hsv(284, 53%, 81%) |
| CMYK | cmyk(14%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(54.77, 49.86, -43.41) |
| CIE-LCH | lch(54.77, 66.11, 318.96°) |
| OKLab | oklab(63.1% 0.1267 -0.1209) |
| OKLCH | oklch(63.1% 0.175 316.3) |
| XYZ | xyz(33.9886, 22.7064, 61.6118) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.84
Amethyst
#9B5FC0
ΔE00 4.90
Soft Purple
#A66FB5
ΔE00 6.31
Lightish Purple
#A552E6
ΔE00 6.47
Pinkish Purple
#D648D7
ΔE00 6.58
Pinky Purple
#C94CBE
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B262CF #7FCF62
analogous
#7C62CF #B262CF #CF62B5
triadic
#B262CF #CFB262 #62CFB2
tetradic
#B262CF #CF7C62 #7FCF62 #62B5CF
square
#B262CF #CF7C62 #7FCF62 #62B5CF
split-complementary
#B262CF #B5CF62 #62CF7C
monochromatic
#722B8C #9839BB #B262CF #C991DD #E0C0EC
Accessibility & contrast
On white
3.79
#B262CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#B262CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B262CF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B262CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B262CF | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7ED3
Deuteranopia (green-blind)
#6485CC
Tritanopia (blue-blind)
#B1738F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #b262cf; /* rgb */ color: rgb(178, 98, 207); /* oklch */ color: oklch(63.1% 0.175 316.3);
Tailwind
colors: {
custom: {
50: '#cb92de',
500: '#b262cf',
950: '#000000',
},
}SCSS
$custom: #b262cf; $custom-light: #cb92de; $custom-dark: #000000;
JSON
{
"hex": "#b262cf",
"rgb": {
"r": 178,
"g": 98,
"b": 207
},
"hsl": {
"h": 284.037,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.63096,
"c": 0.17512,
"h": 316.3
},
"luminance": 0.22705
}Semantic roles & 50–950 ramp
primary
#B262CF
secondary
#BDDBB1
accent
#DD4B72
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83