#B25CF2#B25CF2
#B25CF2 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.3% C 0.221 H 307.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B25CF2 |
|---|---|
| RGB | rgb(178, 92, 242) |
| HSL | hsl(274, 85%, 65%) |
| HSV | hsv(274, 62%, 95%) |
| CMYK | cmyk(26.4%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(55.61, 60.34, -61.77) |
| CIE-LCH | lch(55.61, 86.35, 314.33°) |
| OKLab | oklab(64.34% 0.1351 -0.1745) |
| OKLCH | oklch(64.34% 0.221 307.7) |
| XYZ | xyz(38.2110, 23.5306, 86.5161) |
| Luminance | 0.2353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.55
Lightish Purple
#A552E6
ΔE00 3.94
Bright Lavender
#C760FF
ΔE00 4.08
Bright Lilac
#C95EFB
ΔE00 4.15
Light Urple
#B36FF6
ΔE00 4.29
Mediumorchid
#BA55D3
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B25CF2 #9CF25C
analogous
#675CF2 #B25CF2 #F25CE7
triadic
#B25CF2 #F2B25C #5CF2B2
tetradic
#B25CF2 #F2675C #9CF25C #5CE7F2
square
#B25CF2 #F2675C #9CF25C #5CE7F2
split-complementary
#B25CF2 #E7F25C #5CF267
monochromatic
#7710C4 #9723ED #B25CF2 #CD95F7 #E8CDFB
Accessibility & contrast
On white
3.68
#B25CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#B25CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B25CF2
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B25CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B25CF2 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#A87A9F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b25cf2; /* rgb */ color: rgb(178, 92, 242); /* oklch */ color: oklch(64.3% 0.221 307.7);
Tailwind
colors: {
custom: {
50: '#cd8ff7',
500: '#b25cf2',
950: '#000000',
},
}SCSS
$custom: #b25cf2; $custom-light: #cd8ff7; $custom-dark: #000000;
JSON
{
"hex": "#b25cf2",
"rgb": {
"r": 178,
"g": 92,
"b": 242
},
"hsl": {
"h": 274.4,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.64344,
"c": 0.22067,
"h": 307.7
},
"luminance": 0.2353
}Semantic roles & 50–950 ramp
primary
#B25CF2
secondary
#D1EEBC
accent
#E20462
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85