#B959EE#B959EE

#B959EE is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.5% C 0.223 H 311.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B959EE
RGBrgb(185, 89, 238)
HSLhsl(279, 81%, 64%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(22.3%, 62.6%, 0%, 6.7%)
CIE-LABlab(55.72, 62.45, -59.32)
CIE-LCHlch(55.72, 86.13, 316.47°)
OKLaboklab(64.53% 0.1473 -0.1671)
OKLCHoklch(64.53% 0.223 311.4)
XYZxyz(39.0097, 23.6330, 83.3790)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959EE #8EEE59
analogous
#6F59EE #B959EE #EE59D8
triadic
#B959EE #EEB959 #59EEB9
tetradic
#B959EE #EE6F59 #8EEE59 #59D8EE
square
#B959EE #EE6F59 #8EEE59 #59D8EE
split-complementary
#B959EE #D8EE59 #59EE6F
monochromatic
#7E13BA #A221E8 #B959EE #D091F4 #E8C8F9

Accessibility & contrast

On white

3.67
#B959EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B959EE#FFFFFF#000000##000000
##B959EE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D81F3
Deuteranopia (green-blind)
#4A87EB
Tritanopia (blue-blind)
#B3769C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b959ee;
/* rgb */ color: rgb(185, 89, 238);
/* oklch */ color: oklch(64.5% 0.223 311.4);
Tailwind
colors: {
  custom: {
    50: '#d28df4',
    500: '#b959ee',
    950: '#000000',
  },
}
SCSS
$custom: #b959ee;
$custom-light: #d28df4;
$custom-dark: #000000;
JSON
{
  "hex": "#b959ee",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 278.658,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64528,
    "c": 0.22278,
    "h": 311.4
  },
  "luminance": 0.23632
}

Semantic roles & 50–950 ramp

primary
#B959EE
secondary
#CAEBB7
accent
#DE0854
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B959EE

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

Preview Lab → · Contrast checker → · Palette generator →

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