#B262AE#B262AE
#B262AE is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.5% C 0.142 H 329.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B262AE |
|---|---|
| RGB | rgb(178, 98, 174) |
| HSL | hsl(303, 34%, 54%) |
| HSV | hsv(303, 45%, 70%) |
| CMYK | cmyk(0%, 44.9%, 2.2%, 30.2%) |
| CIE-LAB | lab(53.23, 43.41, -26.85) |
| CIE-LCH | lch(53.23, 51.04, 328.26°) |
| OKLab | oklab(61.45% 0.1217 -0.0732) |
| OKLCH | oklch(61.45% 0.142 329) |
| XYZ | xyz(30.3673, 21.2579, 42.5398) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.59
Purplish Pink
#CE5DAE
ΔE00 5.59
Dark Lilac
#9C6DA5
ΔE00 5.69
Pinky Purple
#C94CBE
ΔE00 5.76
Orchid (survey)
#C875C4
ΔE00 6.94
Purpley Pink
#C83CB9
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B262AE #62B266
analogous
#8E62B2 #B262AE #B26286
triadic
#B262AE #AEB262 #62AEB2
tetradic
#B262AE #B28E62 #62B266 #6286B2
square
#B262AE #B28E62 #62B266 #6286B2
split-complementary
#B262AE #86B262 #62B28E
monochromatic
#673364 #90478C #B262AE #C68BC3 #DAB4D8
Accessibility & contrast
On white
4.00
#B262AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#B262AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B262AE
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B262AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B262AE | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D78B1
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#B76980
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #b262ae; /* rgb */ color: rgb(178, 98, 174); /* oklch */ color: oklch(61.5% 0.142 329.0);
Tailwind
colors: {
custom: {
50: '#cb91c6',
500: '#b262ae',
950: '#000000',
},
}SCSS
$custom: #b262ae; $custom-light: #cb91c6; $custom-dark: #000000;
JSON
{
"hex": "#b262ae",
"rgb": {
"r": 178,
"g": 98,
"b": 174
},
"hsl": {
"h": 303,
"s": 34.188,
"l": 54.118
},
"oklch": {
"l": 0.61453,
"c": 0.14205,
"h": 329
},
"luminance": 0.21256
}Semantic roles & 50–950 ramp
primary
#B262AE
secondary
#A7C9A9
accent
#CA635E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82