#B949EC#B949EC

#B949EC is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.6% C 0.241 H 313.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B949EC
RGBrgb(185, 73, 236)
HSLhsl(281, 81%, 61%)
HSVhsv(281, 69%, 93%)
CMYKcmyk(21.6%, 69.1%, 0%, 7.5%)
CIE-LABlab(53.10, 68.97, -62.41)
CIE-LCHlch(53.10, 93.02, 317.86°)
OKLaboklab(62.61% 0.1647 -0.1761)
OKLCHoklch(62.61% 0.241 313.1)
XYZxyz(37.5278, 21.1366, 81.4435)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B949EC #7CEC49
analogous
#6749EC #B949EC #EC49CD
triadic
#B949EC #ECB949 #49ECB9
tetradic
#B949EC #EC6749 #7CEC49 #49CDEC
square
#B949EC #EC6749 #7CEC49 #49CDEC
split-complementary
#B949EC #CDEC49 #49EC67
monochromatic
#7A12A9 #A217E0 #B949EC #CE80F2 #E4B8F8

Accessibility & contrast

On white

4.02
#B949EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B949EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B949EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B949EC#FFFFFF#000000##000000
##B949EC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#3B81E8
Tritanopia (blue-blind)
#B46B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b949ec;
/* rgb */ color: rgb(185, 73, 236);
/* oklch */ color: oklch(62.6% 0.241 313.1);
Tailwind
colors: {
  custom: {
    50: '#d284f3',
    500: '#b949ec',
    950: '#000000',
  },
}
SCSS
$custom: #b949ec;
$custom-light: #d284f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b949ec",
  "rgb": {
    "r": 185,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 281.227,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.24109,
    "h": 313.1
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#B949EC
secondary
#BDE7A9
accent
#DD084B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #B949EC

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

Preview Lab → · Contrast checker → · Palette generator →

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