#B757EB#B757EB

#B757EB is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.222 H 311.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B757EB
RGBrgb(183, 87, 235)
HSLhsl(279, 79%, 63%)
HSVhsv(279, 63%, 92%)
CMYKcmyk(22.1%, 63%, 0%, 7.8%)
CIE-LABlab(54.95, 62.29, -58.89)
CIE-LCHlch(54.95, 85.72, 316.61°)
OKLaboklab(63.86% 0.1473 -0.1659)
OKLCHoklch(63.86% 0.222 311.6)
XYZxyz(37.9293, 22.8827, 80.9999)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B757EB #8BEB57
analogous
#6D57EB #B757EB #EB57D5
triadic
#B757EB #EBB757 #57EBB7
tetradic
#B757EB #EB6D57 #8BEB57 #57D5EB
square
#B757EB #EB6D57 #8BEB57 #57D5EB
split-complementary
#B757EB #D5EB57 #57EB6D
monochromatic
#7B15B2 #A020E4 #B757EB #CE8EF2 #E6C4F8

Accessibility & contrast

On white

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

On black

5.58
#B757EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B757EB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B757EB#FFFFFF#000000##000000
##B757EB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FF0
Deuteranopia (green-blind)
#4985E8
Tritanopia (blue-blind)
#B17499
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b757eb;
/* rgb */ color: rgb(183, 87, 235);
/* oklch */ color: oklch(63.9% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#d08cf2',
    500: '#b757eb',
    950: '#000000',
  },
}
SCSS
$custom: #b757eb;
$custom-light: #d08cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b757eb",
  "rgb": {
    "r": 183,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 278.919,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63862,
    "c": 0.22182,
    "h": 311.6
  },
  "luminance": 0.22882
}

Semantic roles & 50–950 ramp

primary
#B757EB
secondary
#C7E9B4
accent
#DB0A54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B757EB

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

Preview Lab → · Contrast checker → · Palette generator →

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