#D48EF2#D48EF2

#D48EF2 is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.3% C 0.156 H 315.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#D48EF2
RGBrgb(212, 142, 242)
HSLhsl(282, 79%, 75%)
HSVhsv(282, 41%, 95%)
CMYKcmyk(12.4%, 41.3%, 0%, 5.1%)
CIE-LABlab(69.29, 43.50, -39.85)
CIE-LCHlch(69.29, 59.00, 317.51°)
OKLaboklab(75.3% 0.1109 -0.1101)
OKLCHoklch(75.3% 0.156 315.2)
XYZxyz(52.8489, 39.7551, 88.8767)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48EF2 #ACF28E
analogous
#A28EF2 #D48EF2 #F28EDE
triadic
#D48EF2 #F2D48E #8EF2D4
tetradic
#D48EF2 #F2A28E #ACF28E #8EDEF2
square
#D48EF2 #F2A28E #ACF28E #8EDEF2
split-complementary
#D48EF2 #DEF28E #8EF2A2
monochromatic
#AA20E5 #BF57EC #D48EF2 #E9C5F8 #F5E4FC

Accessibility & contrast

On white

2.35
#D48EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#D48EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48EF2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48EF2#FFFFFF#000000##000000
##D48EF21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d48ef2;
/* rgb */ color: rgb(212, 142, 242);
/* oklch */ color: oklch(75.3% 0.156 315.2);
Tailwind
colors: {
  custom: {
    50: '#e3b0f6',
    500: '#d48ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d48ef2;
$custom-light: #e3b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d48ef2",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 282,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75297,
    "c": 0.15625,
    "h": 315.2
  },
  "luminance": 0.39754
}

Semantic roles & 50–950 ramp

primary
#D48EF2
secondary
#E0F4D7
accent
#DC0A49
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#161117
muted
#848085

Preview Lab

Preview with #D48EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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