#B949DB#B949DB

#B949DB is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.226 H 317.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B949DB
RGBrgb(185, 73, 219)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 67%, 86%)
CMYKcmyk(15.5%, 66.7%, 0%, 14.1%)
CIE-LABlab(52.06, 65.63, -54.49)
CIE-LCHlch(52.06, 85.30, 320.30°)
OKLaboklab(61.53% 0.1659 -0.1529)
OKLCHoklch(61.53% 0.226 317.3)
XYZxyz(35.1745, 20.1953, 69.0494)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B949DB #6BDB49
analogous
#7049DB #B949DB #DB49B4
triadic
#B949DB #DBB949 #49DBB9
tetradic
#B949DB #DB7049 #6BDB49 #49B4DB
square
#B949DB #DB7049 #6BDB49 #49B4DB
split-complementary
#B949DB #B4DB49 #49DB70
monochromatic
#731C8E #9D26C1 #B949DB #CD7CE5 #E0AFEF

Accessibility & contrast

On white

4.17
#B949DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B949DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B949DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B949DB#FFFFFF#000000##000000
##B949DB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#B8648C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b949db;
/* rgb */ color: rgb(185, 73, 219);
/* oklch */ color: oklch(61.5% 0.226 317.3);
Tailwind
colors: {
  custom: {
    50: '#d284e7',
    500: '#b949db',
    950: '#000000',
  },
}
SCSS
$custom: #b949db;
$custom-light: #d284e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b949db",
  "rgb": {
    "r": 185,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 286.027,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.22559,
    "h": 317.3
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#B949DB
secondary
#B0DDA2
accent
#EA3E66
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B949DB

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

Preview Lab → · Contrast checker → · Palette generator →

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