#B274F2#B274F2
#B274F2 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.7% C 0.186 H 304.6°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B274F2 |
|---|---|
| RGB | rgb(178, 116, 242) |
| HSL | hsl(270, 83%, 70%) |
| HSV | hsv(270, 52%, 95%) |
| CMYK | cmyk(26.4%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(60.22, 48.12, -54.41) |
| CIE-LCH | lch(60.22, 72.63, 311.49°) |
| OKLab | oklab(67.72% 0.1057 -0.153) |
| OKLCH | oklch(67.72% 0.186 304.6) |
| XYZ | xyz(40.6290, 28.3668, 87.3221) |
| Luminance | 0.2837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.30
Light Purple
#BF77F6
ΔE00 2.47
Easter Purple
#C071FE
ΔE00 2.67
Bright Lavender
#C760FF
ΔE00 5.07
Bright Lilac
#C95EFB
ΔE00 5.48
Mediumpurple
#9370DB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B274F2 #B4F274
analogous
#7475F2 #B274F2 #F174F2
triadic
#B274F2 #F2B274 #74F2B2
tetradic
#B274F2 #F27475 #B4F274 #74F2F1
square
#B274F2 #F27475 #B4F274 #74F2F1
split-complementary
#B274F2 #F2F174 #75F274
monochromatic
#7414D7 #933CED #B274F2 #D1ACF7 #EFE3FC
Accessibility & contrast
On white
3.15
#B274F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#B274F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B274F2
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B274F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B274F2 | 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)
#4B8FF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#A78BA8
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b274f2; /* rgb */ color: rgb(178, 116, 242); /* oklch */ color: oklch(67.7% 0.186 304.6);
Tailwind
colors: {
custom: {
50: '#cc9ef7',
500: '#b274f2',
950: '#000000',
},
}SCSS
$custom: #b274f2; $custom-light: #cc9ef7; $custom-dark: #000000;
JSON
{
"hex": "#b274f2",
"rgb": {
"r": 178,
"g": 116,
"b": 242
},
"hsl": {
"h": 269.524,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.67715,
"c": 0.18599,
"h": 304.6
},
"luminance": 0.28367
}Semantic roles & 50–950 ramp
primary
#B274F2
secondary
#E1F2CF
accent
#DF0674
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85