#B757EF#B757EF

#B757EF is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.226 H 310.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B757EF
RGBrgb(183, 87, 239)
HSLhsl(278, 83%, 64%)
HSVhsv(278, 64%, 94%)
CMYKcmyk(23.4%, 63.6%, 0%, 6.3%)
CIE-LABlab(55.19, 63.13, -60.74)
CIE-LCHlch(55.19, 87.61, 316.11°)
OKLaboklab(64.11% 0.1471 -0.1713)
OKLCHoklch(64.11% 0.226 310.7)
XYZxyz(38.5137, 23.1165, 84.0777)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B757EF #8FEF57
analogous
#6B57EF #B757EF #EF57DB
triadic
#B757EF #EFB757 #57EFB7
tetradic
#B757EF #EF6B57 #8FEF57 #57DBEF
square
#B757EF #EF6B57 #8FEF57 #57DBEF
split-complementary
#B757EF #DBEF57 #57EF6B
monochromatic
#7C12BA #9F1FEA #B757EF #CF8FF4 #E7C7FA

Accessibility & contrast

On white

3.73
#B757EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B757EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B757EF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B757EF#FFFFFF#000000##000000
##B757EF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#B0759C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b757ef;
/* rgb */ color: rgb(183, 87, 239);
/* oklch */ color: oklch(64.1% 0.226 310.7);
Tailwind
colors: {
  custom: {
    50: '#d18cf5',
    500: '#b757ef',
    950: '#000000',
  },
}
SCSS
$custom: #b757ef;
$custom-light: #d18cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b757ef",
  "rgb": {
    "r": 183,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 277.895,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64113,
    "c": 0.22579,
    "h": 310.7
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#B757EF
secondary
#CAECB6
accent
#DF0656
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B757EF

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

Preview Lab → · Contrast checker → · Palette generator →

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