#B959F1#B959F1

#B959F1 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.7% C 0.226 H 310.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B959F1
RGBrgb(185, 89, 241)
HSLhsl(278, 84%, 65%)
HSVhsv(278, 63%, 95%)
CMYKcmyk(23.2%, 63.1%, 0%, 5.5%)
CIE-LABlab(55.90, 63.08, -60.71)
CIE-LCHlch(55.90, 87.55, 316.10°)
OKLaboklab(64.72% 0.1472 -0.1712)
OKLCHoklch(64.72% 0.226 310.7)
XYZxyz(39.4541, 23.8108, 85.7196)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959F1 #91F159
analogous
#6D59F1 #B959F1 #F159DD
triadic
#B959F1 #F1B959 #59F1B9
tetradic
#B959F1 #F16D59 #91F159 #59DDF1
square
#B959F1 #F16D59 #91F159 #59DDF1
split-complementary
#B959F1 #DDF159 #59F16D
monochromatic
#7F10BF #A121EC #B959F1 #D191F6 #E9CAFB

Accessibility & contrast

On white

3.64
#B959F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B959F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B959F1
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B959F1#FFFFFF#000000##000000
##B959F11.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#4788ED
Tritanopia (blue-blind)
#B2779D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b959f1;
/* rgb */ color: rgb(185, 89, 241);
/* oklch */ color: oklch(64.7% 0.226 310.7);
Tailwind
colors: {
  custom: {
    50: '#d28df6',
    500: '#b959f1',
    950: '#000000',
  },
}
SCSS
$custom: #b959f1;
$custom-light: #d28df6;
$custom-dark: #000000;
JSON
{
  "hex": "#b959f1",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 241
  },
  "hsl": {
    "h": 277.895,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64715,
    "c": 0.22578,
    "h": 310.7
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

primary
#B959F1
secondary
#CCEDB9
accent
#E10556
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #B959F1

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

Preview Lab → · Contrast checker → · Palette generator →

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