#B757EC#B757EC

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

Color values

HEX#B757EC
RGBrgb(183, 87, 236)
HSLhsl(279, 80%, 63%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(22.5%, 63.1%, 0%, 7.5%)
CIE-LABlab(55.01, 62.50, -59.35)
CIE-LCHlch(55.01, 86.19, 316.48°)
OKLaboklab(63.93% 0.1472 -0.1672)
OKLCHoklch(63.93% 0.223 311.4)
XYZxyz(38.0742, 22.9407, 81.7629)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B757EC #8CEC57
analogous
#6C57EC #B757EC #EC57D6
triadic
#B757EC #ECB757 #57ECB7
tetradic
#B757EC #EC6C57 #8CEC57 #57D6EC
square
#B757EC #EC6C57 #8CEC57 #57D6EC
split-complementary
#B757EC #D6EC57 #57EC6C
monochromatic
#7B14B4 #9F20E6 #B757EC #CF8EF2 #E6C5F8

Accessibility & contrast

On white

3.76
#B757EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B757EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B757EC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B757EC#FFFFFF#000000##000000
##B757EC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#027FF1
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#B1749A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b757ec;
/* rgb */ color: rgb(183, 87, 236);
/* oklch */ color: oklch(63.9% 0.223 311.4);
Tailwind
colors: {
  custom: {
    50: '#d08cf3',
    500: '#b757ec',
    950: '#000000',
  },
}
SCSS
$custom: #b757ec;
$custom-light: #d08cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b757ec",
  "rgb": {
    "r": 183,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 278.658,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63925,
    "c": 0.22282,
    "h": 311.4
  },
  "luminance": 0.2294
}

Semantic roles & 50–950 ramp

primary
#B757EC
secondary
#C8EAB5
accent
#DC0A54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B757EC

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

Preview Lab → · Contrast checker → · Palette generator →

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