#B757EA#B757EA

#B757EA is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.221 H 311.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B757EA
RGBrgb(183, 87, 234)
HSLhsl(279, 78%, 63%)
HSVhsv(279, 63%, 92%)
CMYKcmyk(21.8%, 62.8%, 0%, 8.2%)
CIE-LABlab(54.89, 62.08, -58.42)
CIE-LCHlch(54.89, 85.25, 316.74°)
OKLaboklab(63.8% 0.1473 -0.1645)
OKLCHoklch(63.8% 0.221 311.8)
XYZxyz(37.7852, 22.8251, 80.2412)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B757EA #8AEA57
analogous
#6D57EA #B757EA #EA57D3
triadic
#B757EA #EAB757 #57EAB7
tetradic
#B757EA #EA6D57 #8AEA57 #57D3EA
square
#B757EA #EA6D57 #8AEA57 #57D3EA
split-complementary
#B757EA #D3EA57 #57EA6D
monochromatic
#7B16B1 #A021E3 #B757EA #CE8DF1 #E6C4F8

Accessibility & contrast

On white

3.77
#B757EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B757EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B757EA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B757EA#FFFFFF#000000##000000
##B757EA1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7FEF
Deuteranopia (green-blind)
#4A85E7
Tritanopia (blue-blind)
#B17399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b757ea;
/* rgb */ color: rgb(183, 87, 234);
/* oklch */ color: oklch(63.8% 0.221 311.8);
Tailwind
colors: {
  custom: {
    50: '#d08cf1',
    500: '#b757ea',
    950: '#000000',
  },
}
SCSS
$custom: #b757ea;
$custom-light: #d08cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b757ea",
  "rgb": {
    "r": 183,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 279.184,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.638,
    "c": 0.22083,
    "h": 311.8
  },
  "luminance": 0.22824
}

Semantic roles & 50–950 ramp

primary
#B757EA
secondary
#C6E9B4
accent
#DA0B53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B757EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B757EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva