#B959ED#B959ED

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

Color values

HEX#B959ED
RGBrgb(185, 89, 237)
HSLhsl(279, 80%, 64%)
HSVhsv(279, 62%, 93%)
CMYKcmyk(21.9%, 62.4%, 0%, 7.1%)
CIE-LABlab(55.66, 62.24, -58.86)
CIE-LCHlch(55.66, 85.66, 316.60°)
OKLaboklab(64.47% 0.1474 -0.1657)
OKLCHoklch(64.47% 0.222 311.6)
XYZxyz(38.8632, 23.5744, 82.6074)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959ED #8DED59
analogous
#6F59ED #B959ED #ED59D7
triadic
#B959ED #EDB959 #59EDB9
tetradic
#B959ED #ED6F59 #8DED59 #59D7ED
square
#B959ED #ED6F59 #8DED59 #59D7ED
split-complementary
#B959ED #D7ED59 #59ED6F
monochromatic
#7E14B8 #A222E7 #B959ED #D090F3 #E8C7F9

Accessibility & contrast

On white

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

On black

5.71
#B959ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B959ED
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B959ED#FFFFFF#000000##000000
##B959ED1.003.675.715.71
#FFFFFF3.671.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1181F2
Deuteranopia (green-blind)
#4B87EA
Tritanopia (blue-blind)
#B3769B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b959ed;
/* rgb */ color: rgb(185, 89, 237);
/* oklch */ color: oklch(64.5% 0.222 311.6);
Tailwind
colors: {
  custom: {
    50: '#d28df3',
    500: '#b959ed',
    950: '#000000',
  },
}
SCSS
$custom: #b959ed;
$custom-light: #d28df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b959ed",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 278.919,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.22179,
    "h": 311.6
  },
  "luminance": 0.23573
}

Semantic roles & 50–950 ramp

primary
#B959ED
secondary
#C9EBB7
accent
#DD0953
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B959ED

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

Preview Lab → · Contrast checker → · Palette generator →

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