#B959EB#B959EB

#B959EB is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.3% C 0.220 H 312.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B959EB
RGBrgb(185, 89, 235)
HSLhsl(279, 78%, 64%)
HSVhsv(279, 62%, 92%)
CMYKcmyk(21.3%, 62.1%, 0%, 7.8%)
CIE-LABlab(55.54, 61.82, -57.93)
CIE-LCHlch(55.54, 84.72, 316.86°)
OKLaboklab(64.34% 0.1474 -0.163)
OKLCHoklch(64.34% 0.22 312.1)
XYZxyz(38.5727, 23.4582, 81.0771)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B959EB #8BEB59
analogous
#7059EB #B959EB #EB59D4
triadic
#B959EB #EBB959 #59EBB9
tetradic
#B959EB #EB7059 #8BEB59 #59D4EB
square
#B959EB #EB7059 #8BEB59 #59D4EB
split-complementary
#B959EB #D4EB59 #59EB70
monochromatic
#7E16B4 #A222E4 #B959EB #D090F2 #E7C6F8

Accessibility & contrast

On white

3.69
#B959EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B959EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B959EB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B959EB#FFFFFF#000000##000000
##B959EB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780F0
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#B3759A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b959eb;
/* rgb */ color: rgb(185, 89, 235);
/* oklch */ color: oklch(64.3% 0.220 312.1);
Tailwind
colors: {
  custom: {
    50: '#d28df2',
    500: '#b959eb',
    950: '#000000',
  },
}
SCSS
$custom: #b959eb;
$custom-light: #d28df2;
$custom-dark: #000000;
JSON
{
  "hex": "#b959eb",
  "rgb": {
    "r": 185,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 279.452,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64343,
    "c": 0.2198,
    "h": 312.1
  },
  "luminance": 0.23457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B959EB

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

Preview Lab → · Contrast checker → · Palette generator →

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