#B959EA#B959EA

#B959EA is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.219 H 312.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B959EA
RGBrgb(185, 89, 234)
HSLhsl(280, 78%, 63%)
HSVhsv(280, 62%, 92%)
CMYKcmyk(20.9%, 62%, 0%, 8.2%)
CIE-LABlab(55.48, 61.61, -57.46)
CIE-LCHlch(55.48, 84.25, 316.99°)
OKLaboklab(64.28% 0.1475 -0.1617)
OKLCHoklch(64.28% 0.219 312.4)
XYZxyz(38.4286, 23.4006, 80.3184)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959EA #8AEA59
analogous
#7059EA #B959EA #EA59D2
triadic
#B959EA #EAB959 #59EAB9
tetradic
#B959EA #EA7059 #8AEA59 #59D2EA
square
#B959EA #EA7059 #8AEA59 #59D2EA
split-complementary
#B959EA #D2EA59 #59EA70
monochromatic
#7E17B2 #A223E3 #B959EA #D08FF1 #E7C6F8

Accessibility & contrast

On white

3.70
#B959EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B959EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B959EA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B959EA#FFFFFF#000000##000000
##B959EA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#B4759A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b959ea;
/* rgb */ color: rgb(185, 89, 234);
/* oklch */ color: oklch(64.3% 0.219 312.4);
Tailwind
colors: {
  custom: {
    50: '#d28df1',
    500: '#b959ea',
    950: '#000000',
  },
}
SCSS
$custom: #b959ea;
$custom-light: #d28df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b959ea",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 279.724,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64281,
    "c": 0.2188,
    "h": 312.4
  },
  "luminance": 0.234
}

Semantic roles & 50–950 ramp

primary
#B959EA
secondary
#C7E9B6
accent
#DA0C51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B959EA

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

Preview Lab → · Contrast checker → · Palette generator →

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