#B959EC#B959EC

#B959EC is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.4% C 0.221 H 311.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B959EC
RGBrgb(185, 89, 236)
HSLhsl(279, 79%, 64%)
HSVhsv(279, 62%, 93%)
CMYKcmyk(21.6%, 62.3%, 0%, 7.5%)
CIE-LABlab(55.60, 62.03, -58.40)
CIE-LCHlch(55.60, 85.19, 316.73°)
OKLaboklab(64.4% 0.1474 -0.1644)
OKLCHoklch(64.4% 0.221 311.9)
XYZxyz(38.7175, 23.5161, 81.8401)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959EC #8CEC59
analogous
#6F59EC #B959EC #EC59D5
triadic
#B959EC #ECB959 #59ECB9
tetradic
#B959EC #EC6F59 #8CEC59 #59D5EC
square
#B959EC #EC6F59 #8CEC59 #59D5EC
split-complementary
#B959EC #D5EC59 #59EC6F
monochromatic
#7E15B6 #A222E6 #B959EC #D090F2 #E7C7F9

Accessibility & contrast

On white

3.68
#B959EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#B959EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B959EC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B959EC#FFFFFF#000000##000000
##B959EC1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1480F1
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#B3759B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b959ec;
/* rgb */ color: rgb(185, 89, 236);
/* oklch */ color: oklch(64.4% 0.221 311.9);
Tailwind
colors: {
  custom: {
    50: '#d28df3',
    500: '#b959ec',
    950: '#000000',
  },
}
SCSS
$custom: #b959ec;
$custom-light: #d28df3;
$custom-dark: #000000;
JSON
{
  "hex": "#b959ec",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 279.184,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64404,
    "c": 0.2208,
    "h": 311.9
  },
  "luminance": 0.23515
}

Semantic roles & 50–950 ramp

primary
#B959EC
secondary
#C8EAB6
accent
#DC0A53
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B959EC

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

Preview Lab → · Contrast checker → · Palette generator →

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