#B273FC#B273FC
#B273FC is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.1% C 0.199 H 302.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B273FC |
|---|---|
| RGB | rgb(178, 115, 252) |
| HSL | hsl(268, 96%, 72%) |
| HSV | hsv(268, 54%, 99%) |
| CMYK | cmyk(29.4%, 54.4%, 0%, 1.2%) |
| CIE-LAB | lab(60.56, 50.99, -59.38) |
| CIE-LCH | lch(60.56, 78.27, 310.66°) |
| OKLab | oklab(68.15% 0.1075 -0.1676) |
| OKLCH | oklch(68.15% 0.199 302.7) |
| XYZ | xyz(42.0575, 28.7547, 95.4111) |
| Luminance | 0.2875 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.35
Easter Purple
#C071FE
ΔE00 2.48
Light Purple
#BF77F6
ΔE00 3.04
Bright Lavender
#C760FF
ΔE00 4.88
Bright Lilac
#C95EFB
ΔE00 5.47
Lighter Purple
#A55AF4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B273FC #BDFC73
analogous
#7379FC #B273FC #F673FC
triadic
#B273FC #FCB273 #73FCB2
tetradic
#B273FC #FC7379 #BDFC73 #73FCF6
square
#B273FC #FC7379 #BDFC73 #73FCF6
split-complementary
#B273FC #FCF673 #79FC73
monochromatic
#7105EF #9137FB #B273FC #D3AFFD #EFE1FE
Accessibility & contrast
On white
3.11
#B273FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#B273FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B273FC
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B273FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B273FC | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#5492F9
Tritanopia (blue-blind)
#A48DAD
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b273fc; /* rgb */ color: rgb(178, 115, 252); /* oklch */ color: oklch(68.1% 0.199 302.7);
Tailwind
colors: {
custom: {
50: '#cd9dfe',
500: '#b273fc',
950: '#000000',
},
}SCSS
$custom: #b273fc; $custom-light: #cd9dfe; $custom-dark: #000000;
JSON
{
"hex": "#b273fc",
"rgb": {
"r": 178,
"g": 115,
"b": 252
},
"hsl": {
"h": 267.591,
"s": 95.804,
"l": 71.961
},
"oklch": {
"l": 0.68148,
"c": 0.19909,
"h": 302.7
},
"luminance": 0.28755
}Semantic roles & 50–950 ramp
primary
#B273FC
secondary
#E7F7D4
accent
#E6007C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86