#B249DB#B249DB

#B249DB is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.223 H 315.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B249DB
RGBrgb(178, 73, 219)
HSLhsl(283, 67%, 57%)
HSVhsv(283, 67%, 86%)
CMYKcmyk(18.7%, 66.7%, 0%, 14.1%)
CIE-LABlab(51.09, 64.10, -56.09)
CIE-LCHlch(51.09, 85.18, 318.81°)
OKLaboklab(60.63% 0.1575 -0.1578)
OKLCHoklch(60.63% 0.223 315)
XYZxyz(33.5267, 19.3457, 68.9721)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249DB #72DB49
analogous
#6949DB #B249DB #DB49BB
triadic
#B249DB #DBB249 #49DBB2
tetradic
#B249DB #DB6949 #72DB49 #49BBDB
square
#B249DB #DB6949 #72DB49 #49BBDB
split-complementary
#B249DB #BBDB49 #49DB69
monochromatic
#6E1C8E #9526C1 #B249DB #C87CE5 #DDAFEF

Accessibility & contrast

On white

4.31
#B249DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B249DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B249DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249DB#FFFFFF#000000##000000
##B249DB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#457CD8
Tritanopia (blue-blind)
#AF668C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b249db;
/* rgb */ color: rgb(178, 73, 219);
/* oklch */ color: oklch(60.6% 0.223 315.0);
Tailwind
colors: {
  custom: {
    50: '#cd83e7',
    500: '#b249db',
    950: '#000000',
  },
}
SCSS
$custom: #b249db;
$custom-light: #cd83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b249db",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 283.151,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.22292,
    "h": 315
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#B249DB
secondary
#B3DDA2
accent
#EA3E6E
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B249DB

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

Preview Lab → · Contrast checker → · Palette generator →

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