#D48BEC#D48BEC

#D48BEC is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.5% C 0.155 H 317.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D48BEC
RGBrgb(212, 139, 236)
HSLhsl(285, 72%, 74%)
HSVhsv(285, 41%, 93%)
CMYKcmyk(10.2%, 41.1%, 0%, 7.5%)
CIE-LABlab(68.40, 43.88, -37.95)
CIE-LCHlch(68.40, 58.02, 319.14°)
OKLaboklab(74.54% 0.114 -0.1046)
OKLCHoklch(74.54% 0.155 317.5)
XYZxyz(51.5222, 38.5199, 84.0616)
Luminance0.3852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48BEC #A3EC8B
analogous
#A38BEC #D48BEC #EC8BD3
triadic
#D48BEC #ECD48B #8BECD4
tetradic
#D48BEC #ECA38B #A3EC8B #8BD3EC
square
#D48BEC #ECA38B #A3EC8B #8BD3EC
split-complementary
#D48BEC #D3EC8B #8BECA3
monochromatic
#AC24D9 #C156E3 #D48BEC #E7C0F5 #F5E5FB

Accessibility & contrast

On white

2.41
#D48BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#D48BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48BEC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48BEC#FFFFFF#000000##000000
##D48BEC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2F0
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#D498B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d48bec;
/* rgb */ color: rgb(212, 139, 236);
/* oklch */ color: oklch(74.5% 0.155 317.5);
Tailwind
colors: {
  custom: {
    50: '#e3aef2',
    500: '#d48bec',
    950: '#000000',
  },
}
SCSS
$custom: #d48bec;
$custom-light: #e3aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d48bec",
  "rgb": {
    "r": 212,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 285.155,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74542,
    "c": 0.15473,
    "h": 317.5
  },
  "luminance": 0.38518
}

Semantic roles & 50–950 ramp

primary
#D48BEC
secondary
#DFF2D9
accent
#D41242
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D48BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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