#B950EC#B950EC

#B950EC is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.4% C 0.233 H 312.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B950EC
RGBrgb(185, 80, 236)
HSLhsl(280, 80%, 62%)
HSVhsv(280, 66%, 93%)
CMYKcmyk(21.6%, 66.1%, 0%, 7.5%)
CIE-LABlab(54.14, 66.05, -60.74)
CIE-LCHlch(54.14, 89.73, 317.40°)
OKLaboklab(63.35% 0.1574 -0.1712)
OKLCHoklch(63.35% 0.233 312.6)
XYZxyz(38.0139, 22.1088, 81.6056)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B950EC #83EC50
analogous
#6B50EC #B950EC #EC50D1
triadic
#B950EC #ECB950 #50ECB9
tetradic
#B950EC #EC6B50 #83EC50 #50D1EC
square
#B950EC #EC6B50 #83EC50 #50D1EC
split-complementary
#B950EC #D1EC50 #50EC6B
monochromatic
#7C13AF #A319E6 #B950EC #CF87F2 #E5BEF8

Accessibility & contrast

On white

3.87
#B950EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B950EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B950EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B950EC#FFFFFF#000000##000000
##B950EC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#4384E8
Tritanopia (blue-blind)
#B36F98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b950ec;
/* rgb */ color: rgb(185, 80, 236);
/* oklch */ color: oklch(63.4% 0.233 312.6);
Tailwind
colors: {
  custom: {
    50: '#d288f3',
    500: '#b950ec',
    950: '#000000',
  },
}
SCSS
$custom: #b950ec;
$custom-light: #d288f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b950ec",
  "rgb": {
    "r": 185,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 280.385,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63354,
    "c": 0.23257,
    "h": 312.6
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

primary
#B950EC
secondary
#C2E9AF
accent
#DD094E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B950EC

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

Preview Lab → · Contrast checker → · Palette generator →

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