#B272F6#B272F6
#B272F6 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.194 H 304.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #B272F6 |
|---|---|
| RGB | rgb(178, 114, 246) |
| HSL | hsl(269, 88%, 71%) |
| HSV | hsv(269, 54%, 96%) |
| CMYK | cmyk(27.6%, 53.7%, 0%, 3.5%) |
| CIE-LAB | lab(60.03, 50.11, -56.92) |
| CIE-LCH | lch(60.03, 75.84, 311.36°) |
| OKLab | oklab(67.64% 0.1085 -0.1604) |
| OKLCH | oklch(67.64% 0.194 304.1) |
| XYZ | xyz(41.0083, 28.1536, 90.4447) |
| Luminance | 0.2815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 0.72
Easter Purple
#C071FE
ΔE00 2.46
Light Purple
#BF77F6
ΔE00 2.78
Bright Lavender
#C760FF
ΔE00 4.67
Bright Lilac
#C95EFB
ΔE00 5.16
Lighter Purple
#A55AF4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B272F6 #B6F672
analogous
#7274F6 #B272F6 #F472F6
triadic
#B272F6 #F6B272 #72F6B2
tetradic
#B272F6 #F67274 #B6F672 #72F6F4
square
#B272F6 #F67274 #B6F672 #72F6F4
split-complementary
#B272F6 #F6F472 #74F672
monochromatic
#740EDF #9338F2 #B272F6 #D1ACFA #EFE2FD
Accessibility & contrast
On white
3.17
#B272F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#B272F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B272F6
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B272F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B272F6 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438FFA
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#A68BA9
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b272f6; /* rgb */ color: rgb(178, 114, 246); /* oklch */ color: oklch(67.6% 0.194 304.1);
Tailwind
colors: {
custom: {
50: '#cc9cfa',
500: '#b272f6',
950: '#000000',
},
}SCSS
$custom: #b272f6; $custom-light: #cc9cfa; $custom-dark: #000000;
JSON
{
"hex": "#b272f6",
"rgb": {
"r": 178,
"g": 114,
"b": 246
},
"hsl": {
"h": 269.091,
"s": 88,
"l": 70.588
},
"oklch": {
"l": 0.67644,
"c": 0.19363,
"h": 304.1
},
"luminance": 0.28153
}Semantic roles & 50–950 ramp
primary
#B272F6
secondary
#E2F4D0
accent
#E50176
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85