#B272F9#B272F9
#B272F9 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.197 H 303.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B272F9 |
|---|---|
| RGB | rgb(178, 114, 249) |
| HSL | hsl(268, 92%, 71%) |
| HSV | hsv(268, 54%, 98%) |
| CMYK | cmyk(28.5%, 54.2%, 0%, 2.4%) |
| CIE-LAB | lab(60.19, 50.81, -58.32) |
| CIE-LCH | lch(60.19, 77.35, 311.07°) |
| OKLab | oklab(67.82% 0.1086 -0.1645) |
| OKLCH | oklch(67.82% 0.197 303.4) |
| XYZ | xyz(41.4725, 28.3392, 92.8893) |
| Luminance | 0.2834 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.88
Easter Purple
#C071FE
ΔE00 2.43
Light Purple
#BF77F6
ΔE00 2.93
Bright Lavender
#C760FF
ΔE00 4.67
Bright Lilac
#C95EFB
ΔE00 5.22
Lighter Purple
#A55AF4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B272F9 #B9F972
analogous
#7275F9 #B272F9 #F572F9
triadic
#B272F9 #F9B272 #72F9B2
tetradic
#B272F9 #F97275 #B9F972 #72F9F5
square
#B272F9 #F97275 #B9F972 #72F9F5
split-complementary
#B272F9 #F9F572 #75F972
monochromatic
#730AE7 #9237F7 #B272F9 #D2ADFB #EFE2FE
Accessibility & contrast
On white
3.15
#B272F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#B272F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B272F9
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B272F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B272F9 | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#A58CAB
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b272f9; /* rgb */ color: rgb(178, 114, 249); /* oklch */ color: oklch(67.8% 0.197 303.4);
Tailwind
colors: {
custom: {
50: '#cc9dfc',
500: '#b272f9',
950: '#000000',
},
}SCSS
$custom: #b272f9; $custom-light: #cc9dfc; $custom-dark: #000000;
JSON
{
"hex": "#b272f9",
"rgb": {
"r": 178,
"g": 114,
"b": 249
},
"hsl": {
"h": 268.444,
"s": 91.837,
"l": 71.176
},
"oklch": {
"l": 0.67821,
"c": 0.19709,
"h": 303.4
},
"luminance": 0.28339
}Semantic roles & 50–950 ramp
primary
#B272F9
secondary
#E4F5D2
accent
#E60079
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85