#B957F1#B957F1

#B957F1 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.5% C 0.228 H 310.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B957F1
RGBrgb(185, 87, 241)
HSLhsl(278, 85%, 64%)
HSVhsv(278, 64%, 95%)
CMYKcmyk(23.2%, 63.9%, 0%, 5.5%)
CIE-LABlab(55.57, 63.99, -61.24)
CIE-LCHlch(55.57, 88.58, 316.26°)
OKLaboklab(64.48% 0.1495 -0.1727)
OKLCHoklch(64.48% 0.228 310.9)
XYZxyz(39.2900, 23.4824, 85.6648)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957F1 #8FF157
analogous
#6C57F1 #B957F1 #F157DC
triadic
#B957F1 #F1B957 #57F1B9
tetradic
#B957F1 #F16C57 #8FF157 #57DCF1
square
#B957F1 #F16C57 #8FF157 #57DCF1
split-complementary
#B957F1 #DCF157 #57F16C
monochromatic
#7F10BE #A11FEC #B957F1 #D18FF6 #E8C8FA

Accessibility & contrast

On white

3.69
#B957F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B957F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957F1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957F1#FFFFFF#000000##000000
##B957F11.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#4587ED
Tritanopia (blue-blind)
#B2769D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b957f1;
/* rgb */ color: rgb(185, 87, 241);
/* oklch */ color: oklch(64.5% 0.228 310.9);
Tailwind
colors: {
  custom: {
    50: '#d28cf6',
    500: '#b957f1',
    950: '#000000',
  },
}
SCSS
$custom: #b957f1;
$custom-light: #d28cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b957f1",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 241
  },
  "hsl": {
    "h": 278.182,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64475,
    "c": 0.22842,
    "h": 310.9
  },
  "luminance": 0.23482
}

Semantic roles & 50–950 ramp

primary
#B957F1
secondary
#CBEDB7
accent
#E10455
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B957F1

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

Preview Lab → · Contrast checker → · Palette generator →

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