#B957EC#B957EC

#B957EC is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.223 H 312.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B957EC
RGBrgb(185, 87, 236)
HSLhsl(279, 80%, 63%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(21.6%, 63.1%, 0%, 7.5%)
CIE-LABlab(55.27, 62.94, -58.93)
CIE-LCHlch(55.27, 86.23, 316.89°)
OKLaboklab(64.16% 0.1497 -0.1659)
OKLCHoklch(64.16% 0.223 312.1)
XYZxyz(38.5534, 23.1878, 81.7854)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957EC #8AEC57
analogous
#6E57EC #B957EC #EC57D4
triadic
#B957EC #ECB957 #57ECB9
tetradic
#B957EC #EC6E57 #8AEC57 #57D4EC
square
#B957EC #EC6E57 #8AEC57 #57D4EC
split-complementary
#B957EC #D4EC57 #57EC6E
monochromatic
#7E14B4 #A220E6 #B957EC #D08EF2 #E7C5F8

Accessibility & contrast

On white

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

On black

5.64
#B957EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957EC
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957EC#FFFFFF#000000##000000
##B957EC1.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#087FF1
Deuteranopia (green-blind)
#4A86E9
Tritanopia (blue-blind)
#B3749A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b957ec;
/* rgb */ color: rgb(185, 87, 236);
/* oklch */ color: oklch(64.2% 0.223 312.1);
Tailwind
colors: {
  custom: {
    50: '#d28cf3',
    500: '#b957ec',
    950: '#000000',
  },
}
SCSS
$custom: #b957ec;
$custom-light: #d28cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b957ec",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 279.463,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64162,
    "c": 0.22349,
    "h": 312.1
  },
  "luminance": 0.23187
}

Semantic roles & 50–950 ramp

primary
#B957EC
secondary
#C7EAB5
accent
#DC0A52
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B957EC

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

Preview Lab → · Contrast checker → · Palette generator →

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