#B249D4#B249D4

#B249D4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.216 H 316.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B249D4
RGBrgb(178, 73, 212)
HSLhsl(285, 62%, 56%)
HSVhsv(285, 66%, 83%)
CMYKcmyk(16%, 65.6%, 0%, 16.9%)
CIE-LABlab(50.67, 62.72, -52.78)
CIE-LCHlch(50.67, 81.97, 319.92°)
OKLaboklab(60.2% 0.1578 -0.1481)
OKLCHoklch(60.2% 0.216 316.8)
XYZxyz(32.6245, 18.9848, 64.2205)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B249D4 #6BD449
analogous
#6C49D4 #B249D4 #D449B0
triadic
#B249D4 #D4B249 #49D4B2
tetradic
#B249D4 #D46C49 #6BD449 #49B0D4
square
#B249D4 #D46C49 #6BD449 #49B0D4
split-complementary
#B249D4 #B0D449 #49D46C
monochromatic
#6B1F84 #932BB5 #B249D4 #C77BE0 #DCACEB

Accessibility & contrast

On white

4.38
#B249D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B249D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B249D4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B249D4#FFFFFF#000000##000000
##B249D41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A72D8
Deuteranopia (green-blind)
#4B7CD1
Tritanopia (blue-blind)
#B06389
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b249d4;
/* rgb */ color: rgb(178, 73, 212);
/* oklch */ color: oklch(60.2% 0.216 316.8);
Tailwind
colors: {
  custom: {
    50: '#cd83e2',
    500: '#b249d4',
    950: '#000000',
  },
}
SCSS
$custom: #b249d4;
$custom-light: #cd83e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b249d4",
  "rgb": {
    "r": 178,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 285.324,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.2164,
    "h": 316.8
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

primary
#B249D4
secondary
#AED9A0
accent
#E5436B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B249D4

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

Preview Lab → · Contrast checker → · Palette generator →

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