#B957FB#B957FB

#B957FB is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 65.1% C 0.238 H 308.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B957FB
RGBrgb(185, 87, 251)
HSLhsl(276, 95%, 66%)
HSVhsv(276, 65%, 98%)
CMYKcmyk(26.3%, 65.3%, 0%, 1.6%)
CIE-LABlab(56.18, 66.11, -65.81)
CIE-LCHlch(56.18, 93.29, 315.13°)
OKLaboklab(65.12% 0.1488 -0.1861)
OKLCHoklch(65.12% 0.238 308.6)
XYZxyz(40.8248, 24.0964, 93.7485)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957FB #99FB57
analogous
#6757FB #B957FB #FB57EB
triadic
#B957FB #FBB957 #57FBB9
tetradic
#B957FB #FB6757 #99FB57 #57EBFB
square
#B957FB #FB6757 #99FB57 #57EBFB
split-complementary
#B957FB #EBFB57 #57FB67
monochromatic
#8005D3 #A01BFA #B957FB #D293FC #EBCFFE

Accessibility & contrast

On white

3.61
#B957FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B957FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957FB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957FB#FFFFFF#000000##000000
##B957FB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#3988F7
Tritanopia (blue-blind)
#AF7AA2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b957fb;
/* rgb */ color: rgb(185, 87, 251);
/* oklch */ color: oklch(65.1% 0.238 308.6);
Tailwind
colors: {
  custom: {
    50: '#d38cfd',
    500: '#b957fb',
    950: '#000000',
  },
}
SCSS
$custom: #b957fb;
$custom-light: #d38cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b957fb",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 275.854,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65118,
    "c": 0.2383,
    "h": 308.6
  },
  "luminance": 0.24096
}

Semantic roles & 50–950 ramp

primary
#B957FB
secondary
#D2F2BC
accent
#E6005C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D18
muted
#837D86

Preview Lab

Preview with #B957FB

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

Preview Lab → · Contrast checker → · Palette generator →

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