#B957E8#B957E8

#B957E8 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 63.9% C 0.220 H 313.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B957E8
RGBrgb(185, 87, 232)
HSLhsl(281, 76%, 63%)
HSVhsv(281, 63%, 91%)
CMYKcmyk(20.3%, 62.5%, 0%, 9%)
CIE-LABlab(55.03, 62.11, -57.07)
CIE-LCHlch(55.03, 84.35, 317.42°)
OKLaboklab(63.92% 0.1498 -0.1605)
OKLCHoklch(63.92% 0.22 313)
XYZxyz(37.9787, 22.9579, 78.7590)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957E8 #86E857
analogous
#7157E8 #B957E8 #E857CE
triadic
#B957E8 #E8B957 #57E8B9
tetradic
#B957E8 #E87157 #86E857 #57CEE8
square
#B957E8 #E87157 #86E857 #57CEE8
split-complementary
#B957E8 #CEE857 #57E871
monochromatic
#7D18AD #A321E1 #B957E8 #CF8DEF #E6C3F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B957E8#FFFFFF#000000##000000
##B957E81.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)
#187FEC
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#B47298
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b957e8;
/* rgb */ color: rgb(185, 87, 232);
/* oklch */ color: oklch(63.9% 0.220 313.0);
Tailwind
colors: {
  custom: {
    50: '#d28cf0',
    500: '#b957e8',
    950: '#000000',
  },
}
SCSS
$custom: #b957e8;
$custom-light: #d28cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b957e8",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 280.552,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.21955,
    "h": 313
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#B957E8
secondary
#C4E8B3
accent
#D80D4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B957E8

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

Preview Lab → · Contrast checker → · Palette generator →

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