#B262F3#B262F3
#B262F3 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.213 H 306.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B262F3 |
|---|---|
| RGB | rgb(178, 98, 243) |
| HSL | hsl(273, 86%, 67%) |
| HSV | hsv(273, 60%, 95%) |
| CMYK | cmyk(26.7%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(56.75, 57.64, -60.50) |
| CIE-LCH | lch(56.75, 83.56, 313.61°) |
| OKLab | oklab(65.19% 0.128 -0.1708) |
| OKLCH | oklch(65.19% 0.213 306.9) |
| XYZ | xyz(38.9021, 24.6718, 87.4894) |
| Luminance | 0.2467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.00
Lighter Purple
#A55AF4
ΔE00 3.23
Bright Lavender
#C760FF
ΔE00 3.60
Bright Lilac
#C95EFB
ΔE00 3.83
Easter Purple
#C071FE
ΔE00 4.53
Lightish Purple
#A552E6
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B262F3 #A3F362
analogous
#6962F3 #B262F3 #F362EC
triadic
#B262F3 #F3B262 #62F3B2
tetradic
#B262F3 #F36962 #A3F362 #62ECF3
square
#B262F3 #F36962 #A3F362 #62ECF3
split-complementary
#B262F3 #ECF362 #62F369
monochromatic
#7710CB #9629EF #B262F3 #CE9BF7 #EAD4FC
Accessibility & contrast
On white
3.54
#B262F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#B262F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B262F3
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B262F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B262F3 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E85F8
Deuteranopia (green-blind)
#4889F0
Tritanopia (blue-blind)
#A87FA2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #b262f3; /* rgb */ color: rgb(178, 98, 243); /* oklch */ color: oklch(65.2% 0.213 306.9);
Tailwind
colors: {
custom: {
50: '#cd92f8',
500: '#b262f3',
950: '#000000',
},
}SCSS
$custom: #b262f3; $custom-light: #cd92f8; $custom-dark: #000000;
JSON
{
"hex": "#b262f3",
"rgb": {
"r": 178,
"g": 98,
"b": 243
},
"hsl": {
"h": 273.103,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.65191,
"c": 0.21346,
"h": 306.9
},
"luminance": 0.24671
}Semantic roles & 50–950 ramp
primary
#B262F3
secondary
#D6F0C1
accent
#E20367
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85