#D48DF2#D48DF2

#D48DF2 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.1% C 0.158 H 315.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D48DF2
RGBrgb(212, 141, 242)
HSLhsl(282, 80%, 75%)
HSVhsv(282, 42%, 95%)
CMYKcmyk(12.4%, 41.7%, 0%, 5.1%)
CIE-LABlab(69.08, 44.03, -40.18)
CIE-LCHlch(69.08, 59.61, 317.62°)
OKLaboklab(75.14% 0.1123 -0.111)
OKLCHoklch(75.14% 0.158 315.3)
XYZxyz(52.7008, 39.4589, 88.8273)
Luminance0.3946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48DF2 #ABF28D
analogous
#A18DF2 #D48DF2 #F28DDE
triadic
#D48DF2 #F2D48D #8DF2D4
tetradic
#D48DF2 #F2A18D #ABF28D #8DDEF2
square
#D48DF2 #F2A18D #ABF28D #8DDEF2
split-complementary
#D48DF2 #DEF28D #8DF2A1
monochromatic
#AB1FE5 #BF56EC #D48DF2 #E9C4F8 #F5E4FC

Accessibility & contrast

On white

2.36
#D48DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#D48DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48DF2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48DF2#FFFFFF#000000##000000
##D48DF21.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#D29BB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48df2;
/* rgb */ color: rgb(212, 141, 242);
/* oklch */ color: oklch(75.1% 0.158 315.3);
Tailwind
colors: {
  custom: {
    50: '#e3b0f6',
    500: '#d48df2',
    950: '#000000',
  },
}
SCSS
$custom: #d48df2;
$custom-light: #e3b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d48df2",
  "rgb": {
    "r": 212,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 282.178,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.15792,
    "h": 315.3
  },
  "luminance": 0.39458
}

Semantic roles & 50–950 ramp

primary
#D48DF2
secondary
#E0F4D7
accent
#DC0A48
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#161017
muted
#847F85

Preview Lab

Preview with #D48DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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