#B249DC#B249DC

#B249DC is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.224 H 314.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B249DC
RGBrgb(178, 73, 220)
HSLhsl(283, 68%, 57%)
HSVhsv(283, 67%, 86%)
CMYKcmyk(19.1%, 66.8%, 0%, 13.7%)
CIE-LABlab(51.15, 64.30, -56.56)
CIE-LCHlch(51.15, 85.64, 318.66°)
OKLaboklab(60.7% 0.1574 -0.1591)
OKLCHoklch(60.7% 0.224 314.7)
XYZxyz(33.6588, 19.3985, 69.6675)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249DC #73DC49
analogous
#6849DC #B249DC #DC49BD
triadic
#B249DC #DCB249 #49DCB2
tetradic
#B249DC #DC6849 #73DC49 #49BDDC
square
#B249DC #DC6849 #73DC49 #49BDDC
split-complementary
#B249DC #BDDC49 #49DC68
monochromatic
#6E1C8F #9625C2 #B249DC #C87CE6 #DDB0F0

Accessibility & contrast

On white

4.30
#B249DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B249DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B249DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249DC#FFFFFF#000000##000000
##B249DC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#AE668D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b249dc;
/* rgb */ color: rgb(178, 73, 220);
/* oklch */ color: oklch(60.7% 0.224 314.7);
Tailwind
colors: {
  custom: {
    50: '#cd83e8',
    500: '#b249dc',
    950: '#000000',
  },
}
SCSS
$custom: #b249dc;
$custom-light: #cd83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b249dc",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 282.857,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60697,
    "c": 0.22385,
    "h": 314.7
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#B249DC
secondary
#B4DEA3
accent
#EB3D6F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B249DC

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

Preview Lab → · Contrast checker → · Palette generator →

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