#B283F2#B283F2
#B283F2 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.163 H 301.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B283F2 |
|---|---|
| RGB | rgb(178, 131, 242) |
| HSL | hsl(265, 81%, 73%) |
| HSV | hsv(265, 46%, 95%) |
| CMYK | cmyk(26.4%, 45.9%, 0%, 5.1%) |
| CIE-LAB | lab(63.43, 39.96, -49.31) |
| CIE-LCH | lch(63.43, 63.47, 309.02°) |
| OKLab | oklab(70.11% 0.086 -0.1382) |
| OKLCH | oklch(70.11% 0.163 301.9) |
| XYZ | xyz(42.4998, 32.1083, 87.9457) |
| Luminance | 0.3211 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.87
Liliac
#C48EFD
ΔE00 4.04
Light Urple
#B36FF6
ΔE00 5.02
Easter Purple
#C071FE
ΔE00 5.09
Baby Purple
#CA9BF7
ΔE00 7.25
Mediumpurple
#9370DB
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B283F2 #C3F283
analogous
#838BF2 #B283F2 #E983F2
triadic
#B283F2 #F2B283 #83F2B2
tetradic
#B283F2 #F2838B #C3F283 #83F2E9
square
#B283F2 #F2838B #C3F283 #83F2E9
split-complementary
#B283F2 #F2E983 #8BF283
monochromatic
#6E18E3 #904CEC #B283F2 #D4BAF8 #EEE3FC
Accessibility & contrast
On white
2.83
#B283F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#B283F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B283F2
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B283F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B283F2 | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#A697AF
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b283f2; /* rgb */ color: rgb(178, 131, 242); /* oklch */ color: oklch(70.1% 0.163 301.9);
Tailwind
colors: {
custom: {
50: '#cba8f7',
500: '#b283f2',
950: '#000000',
},
}SCSS
$custom: #b283f2; $custom-light: #cba8f7; $custom-dark: #000000;
JSON
{
"hex": "#b283f2",
"rgb": {
"r": 178,
"g": 131,
"b": 242
},
"hsl": {
"h": 265.405,
"s": 81.022,
"l": 73.137
},
"oklch": {
"l": 0.70107,
"c": 0.16276,
"h": 301.9
},
"luminance": 0.32108
}Semantic roles & 50–950 ramp
primary
#B283F2
secondary
#E8F4D7
accent
#DD0883
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85