#B964EB#B964EB

#B964EB is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.204 H 311.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B964EB
RGBrgb(185, 100, 235)
HSLhsl(278, 77%, 66%)
HSVhsv(278, 57%, 92%)
CMYKcmyk(21.3%, 57.4%, 0%, 7.8%)
CIE-LABlab(57.49, 56.54, -54.81)
CIE-LCHlch(57.49, 78.75, 315.89°)
OKLaboklab(65.76% 0.1342 -0.154)
OKLCHoklch(65.76% 0.204 311.1)
XYZxyz(39.5574, 25.4276, 81.4053)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B964EB #96EB64
analogous
#7564EB #B964EB #EB64D9
triadic
#B964EB #EBB964 #64EBB9
tetradic
#B964EB #EB7564 #96EB64 #64D9EB
square
#B964EB #EB7564 #96EB64 #64D9EB
split-complementary
#B964EB #D9EB64 #64EB75
monochromatic
#8018BC #A12EE4 #B964EB #D19AF2 #EAD0F9

Accessibility & contrast

On white

3.45
#B964EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B964EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B964EB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B964EB#FFFFFF#000000##000000
##B964EB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#B37C9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b964eb;
/* rgb */ color: rgb(185, 100, 235);
/* oklch */ color: oklch(65.8% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#d194f2',
    500: '#b964eb',
    950: '#000000',
  },
}
SCSS
$custom: #b964eb;
$custom-light: #d194f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b964eb",
  "rgb": {
    "r": 185,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 277.778,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.20426,
    "h": 311.1
  },
  "luminance": 0.25427
}

Semantic roles & 50–950 ramp

primary
#B964EB
secondary
#D0ECBF
accent
#D90C58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B964EB

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

Preview Lab → · Contrast checker → · Palette generator →

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