#B757F2#B757F2
#B757F2 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.3% C 0.229 H 310.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B757F2 |
|---|---|
| RGB | rgb(183, 87, 242) |
| HSL | hsl(277, 86%, 65%) |
| HSV | hsv(277, 64%, 95%) |
| CMYK | cmyk(24.4%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(55.38, 63.77, -62.12) |
| CIE-LCH | lch(55.38, 89.03, 315.75°) |
| OKLab | oklab(64.3% 0.1469 -0.1754) |
| OKLCH | oklch(64.3% 0.229 310) |
| XYZ | xyz(38.9605, 23.2953, 86.4312) |
| Luminance | 0.2329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.23
Bright Lilac
#C95EFB
ΔE00 3.85
Bright Lavender
#C760FF
ΔE00 3.95
Lightish Purple
#A552E6
ΔE00 3.95
Mediumorchid
#BA55D3
ΔE00 4.98
Light Urple
#B36FF6
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B757F2 #92F257
analogous
#6A57F2 #B757F2 #F257E0
triadic
#B757F2 #F2B757 #57F2B7
tetradic
#B757F2 #F26A57 #92F257 #57E0F2
square
#B757F2 #F26A57 #92F257 #57E0F2
split-complementary
#B757F2 #E0F257 #57F26A
monochromatic
#7C0FC0 #9F1EEE #B757F2 #CF90F6 #E8C9FB
Accessibility & contrast
On white
3.71
#B757F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#B757F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B757F2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B757F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B757F2 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4186EE
Tritanopia (blue-blind)
#AF769D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #b757f2; /* rgb */ color: rgb(183, 87, 242); /* oklch */ color: oklch(64.3% 0.229 310.0);
Tailwind
colors: {
custom: {
50: '#d18cf7',
500: '#b757f2',
950: '#000000',
},
}SCSS
$custom: #b757f2; $custom-light: #d18cf7; $custom-dark: #000000;
JSON
{
"hex": "#b757f2",
"rgb": {
"r": 183,
"g": 87,
"b": 242
},
"hsl": {
"h": 277.161,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.64304,
"c": 0.22879,
"h": 310
},
"luminance": 0.23294
}Semantic roles & 50–950 ramp
primary
#B757F2
secondary
#CCEDB8
accent
#E20358
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85