#B957F2#B957F2

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

Color values

HEX#B957F2
RGBrgb(185, 87, 242)
HSLhsl(278, 86%, 65%)
HSVhsv(278, 64%, 95%)
CMYKcmyk(23.6%, 64%, 0%, 5.1%)
CIE-LABlab(55.63, 64.20, -61.70)
CIE-LCHlch(55.63, 89.05, 316.14°)
OKLaboklab(64.54% 0.1494 -0.1741)
OKLCHoklch(64.54% 0.229 310.6)
XYZxyz(39.4397, 23.5423, 86.4537)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957F2 #90F257
analogous
#6B57F2 #B957F2 #F257DE
triadic
#B957F2 #F2B957 #57F2B9
tetradic
#B957F2 #F26B57 #90F257 #57DEF2
square
#B957F2 #F26B57 #90F257 #57DEF2
split-complementary
#B957F2 #DEF257 #57F26B
monochromatic
#7F0FC0 #A11EEE #B957F2 #D190F6 #E8C9FB

Accessibility & contrast

On white

3.68
#B957F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B957F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957F2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957F2#FFFFFF#000000##000000
##B957F21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#4487EE
Tritanopia (blue-blind)
#B2769D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b957f2;
/* rgb */ color: rgb(185, 87, 242);
/* oklch */ color: oklch(64.5% 0.229 310.6);
Tailwind
colors: {
  custom: {
    50: '#d28cf7',
    500: '#b957f2',
    950: '#000000',
  },
}
SCSS
$custom: #b957f2;
$custom-light: #d28cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b957f2",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 277.935,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64539,
    "c": 0.22941,
    "h": 310.6
  },
  "luminance": 0.23541
}

Semantic roles & 50–950 ramp

primary
#B957F2
secondary
#CBEDB8
accent
#E20355
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B957F2

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

Preview Lab → · Contrast checker → · Palette generator →

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