#B957F4#B957F4

#B957F4 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.7% C 0.231 H 310.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B957F4
RGBrgb(185, 87, 244)
HSLhsl(277, 88%, 65%)
HSVhsv(277, 64%, 96%)
CMYKcmyk(24.2%, 64.3%, 0%, 4.3%)
CIE-LABlab(55.75, 64.62, -62.62)
CIE-LCHlch(55.75, 89.99, 315.90°)
OKLaboklab(64.67% 0.1493 -0.1768)
OKLCHoklch(64.67% 0.231 310.2)
XYZxyz(39.7418, 23.6632, 88.0443)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957F4 #92F457
analogous
#6A57F4 #B957F4 #F457E1
triadic
#B957F4 #F4B957 #57F4B9
tetradic
#B957F4 #F46A57 #92F457 #57E1F4
square
#B957F4 #F46A57 #92F457 #57E1F4
split-complementary
#B957F4 #E1F457 #57F46A
monochromatic
#7F0DC4 #A11EF0 #B957F4 #D190F8 #E9CAFC

Accessibility & contrast

On white

3.66
#B957F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B957F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957F4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957F4#FFFFFF#000000##000000
##B957F41.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#4287F0
Tritanopia (blue-blind)
#B1779E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b957f4;
/* rgb */ color: rgb(185, 87, 244);
/* oklch */ color: oklch(64.7% 0.231 310.2);
Tailwind
colors: {
  custom: {
    50: '#d28cf8',
    500: '#b957f4',
    950: '#000000',
  },
}
SCSS
$custom: #b957f4;
$custom-light: #d28cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b957f4",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 277.452,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64666,
    "c": 0.23138,
    "h": 310.2
  },
  "luminance": 0.23662
}

Semantic roles & 50–950 ramp

primary
#B957F4
secondary
#CDEEB9
accent
#E40157
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B957F4

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

Preview Lab → · Contrast checker → · Palette generator →

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