#B959F4#B959F4

#B959F4 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.9% C 0.229 H 310.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B959F4
RGBrgb(185, 89, 244)
HSLhsl(277, 88%, 65%)
HSVhsv(277, 64%, 96%)
CMYKcmyk(24.2%, 63.5%, 0%, 4.3%)
CIE-LABlab(56.08, 63.71, -62.09)
CIE-LCHlch(56.08, 88.97, 315.74°)
OKLaboklab(64.9% 0.1471 -0.1752)
OKLCHoklch(64.9% 0.229 310)
XYZxyz(39.9059, 23.9915, 88.0990)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959F4 #94F459
analogous
#6B59F4 #B959F4 #F459E2
triadic
#B959F4 #F4B959 #59F4B9
tetradic
#B959F4 #F46B59 #94F459 #59E2F4
square
#B959F4 #F46B59 #94F459 #59E2F4
split-complementary
#B959F4 #E2F459 #59F46B
monochromatic
#7F0DC6 #A120F0 #B959F4 #D192F8 #E9CCFC

Accessibility & contrast

On white

3.62
#B959F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B959F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B959F4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B959F4#FFFFFF#000000##000000
##B959F41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#4488F0
Tritanopia (blue-blind)
#B1789F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b959f4;
/* rgb */ color: rgb(185, 89, 244);
/* oklch */ color: oklch(64.9% 0.229 310.0);
Tailwind
colors: {
  custom: {
    50: '#d28df8',
    500: '#b959f4',
    950: '#000000',
  },
}
SCSS
$custom: #b959f4;
$custom-light: #d28df8;
$custom-dark: #000000;
JSON
{
  "hex": "#b959f4",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 277.161,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64904,
    "c": 0.22877,
    "h": 310
  },
  "luminance": 0.23991
}

Semantic roles & 50–950 ramp

primary
#B959F4
secondary
#CEEFBA
accent
#E40158
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #B959F4

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

Preview Lab → · Contrast checker → · Palette generator →

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