#B959F8#B959F8

#B959F8 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.2% C 0.233 H 309.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B959F8
RGBrgb(185, 89, 248)
HSLhsl(276, 92%, 66%)
HSVhsv(276, 64%, 97%)
CMYKcmyk(25.4%, 64.1%, 0%, 2.7%)
CIE-LABlab(56.32, 64.57, -63.92)
CIE-LCHlch(56.32, 90.86, 315.29°)
OKLaboklab(65.16% 0.1468 -0.1806)
OKLCHoklch(65.16% 0.233 309.1)
XYZxyz(40.5199, 24.2371, 91.3324)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959F8 #98F859
analogous
#6959F8 #B959F8 #F859E8
triadic
#B959F8 #F8B959 #59F8B9
tetradic
#B959F8 #F86959 #98F859 #59E8F8
square
#B959F8 #F86959 #98F859 #59E8F8
split-complementary
#B959F8 #E8F859 #59F869
monochromatic
#8009CE #A01EF6 #B959F8 #D294FA #EBCEFD

Accessibility & contrast

On white

3.59
#B959F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B959F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B959F8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B959F8#FFFFFF#000000##000000
##B959F81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#B07AA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b959f8;
/* rgb */ color: rgb(185, 89, 248);
/* oklch */ color: oklch(65.2% 0.233 309.1);
Tailwind
colors: {
  custom: {
    50: '#d28efb',
    500: '#b959f8',
    950: '#000000',
  },
}
SCSS
$custom: #b959f8;
$custom-light: #d28efb;
$custom-dark: #000000;
JSON
{
  "hex": "#b959f8",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 248
  },
  "hsl": {
    "h": 276.226,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.23276,
    "h": 309.1
  },
  "luminance": 0.24236
}

Semantic roles & 50–950 ramp

primary
#B959F8
secondary
#D1F1BC
accent
#E6005B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #B959F8

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

Preview Lab → · Contrast checker → · Palette generator →

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