#D48EE2#D48EE2

#D48EE2 is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.6% C 0.139 H 320.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D48EE2
RGBrgb(212, 142, 226)
HSLhsl(290, 59%, 72%)
HSVhsv(290, 37%, 89%)
CMYKcmyk(6.2%, 37.2%, 0%, 11.4%)
CIE-LABlab(68.63, 40.31, -32.09)
CIE-LCHlch(68.63, 51.52, 321.48°)
OKLaboklab(74.58% 0.1076 -0.0879)
OKLCHoklch(74.58% 0.139 320.8)
XYZxyz(50.5502, 38.8356, 76.7700)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48EE2 #9CE28E
analogous
#AA8EE2 #D48EE2 #E28EC6
triadic
#D48EE2 #E2D48E #8EE2D4
tetradic
#D48EE2 #E2AA8E #9CE28E #8EC6E2
square
#D48EE2 #E2AA8E #9CE28E #8EC6E2
split-complementary
#D48EE2 #C6E28E #8EE2AA
monochromatic
#AB32C3 #C15DD6 #D48EE2 #E7BFEE #F6E7F9

Accessibility & contrast

On white

2.40
#D48EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D48EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48EE2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48EE2#FFFFFF#000000##000000
##D48EE21.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E5
Deuteranopia (green-blind)
#95AADF
Tritanopia (blue-blind)
#D698AE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d48ee2;
/* rgb */ color: rgb(212, 142, 226);
/* oklch */ color: oklch(74.6% 0.139 320.8);
Tailwind
colors: {
  custom: {
    50: '#e2b0eb',
    500: '#d48ee2',
    950: '#000000',
  },
}
SCSS
$custom: #d48ee2;
$custom-light: #e2b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d48ee2",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 290,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7458,
    "c": 0.13893,
    "h": 320.8
  },
  "luminance": 0.38834
}

Semantic roles & 50–950 ramp

primary
#D48EE2
secondary
#DEF0DB
accent
#C71F3B
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#151016
muted
#847F84

Preview Lab

Preview with #D48EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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