#B957EE#B957EE

#B957EE is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.3% C 0.225 H 311.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B957EE
RGBrgb(185, 87, 238)
HSLhsl(279, 82%, 64%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(22.3%, 63.4%, 0%, 6.7%)
CIE-LABlab(55.38, 63.36, -59.86)
CIE-LCHlch(55.38, 87.17, 316.63°)
OKLaboklab(64.29% 0.1496 -0.1687)
OKLCHoklch(64.29% 0.225 311.6)
XYZxyz(38.8456, 23.3047, 83.3243)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957EE #8CEE57
analogous
#6D57EE #B957EE #EE57D8
triadic
#B957EE #EEB957 #57EEB9
tetradic
#B957EE #EE6D57 #8CEE57 #57D8EE
square
#B957EE #EE6D57 #8CEE57 #57D8EE
split-complementary
#B957EE #D8EE57 #57EE6D
monochromatic
#7E13B8 #A21FE8 #B957EE #D08FF4 #E7C6F9

Accessibility & contrast

On white

3.71
#B957EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B957EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957EE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957EE#FFFFFF#000000##000000
##B957EE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#4887EA
Tritanopia (blue-blind)
#B3759B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b957ee;
/* rgb */ color: rgb(185, 87, 238);
/* oklch */ color: oklch(64.3% 0.225 311.6);
Tailwind
colors: {
  custom: {
    50: '#d28cf4',
    500: '#b957ee',
    950: '#000000',
  },
}
SCSS
$custom: #b957ee;
$custom-light: #d28cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b957ee",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 278.94,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64287,
    "c": 0.22546,
    "h": 311.6
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#B957EE
secondary
#C8EBB6
accent
#DE0853
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #B957EE

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

Preview Lab → · Contrast checker → · Palette generator →

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