#D48CF2#D48CF2

#D48CF2 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.0% C 0.160 H 315.4°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D48CF2
RGBrgb(212, 140, 242)
HSLhsl(282, 80%, 75%)
HSVhsv(282, 42%, 95%)
CMYKcmyk(12.4%, 42.1%, 0%, 5.1%)
CIE-LABlab(68.87, 44.56, -40.51)
CIE-LCHlch(68.87, 60.23, 317.72°)
OKLaboklab(74.98% 0.1137 -0.112)
OKLCHoklch(74.98% 0.16 315.4)
XYZxyz(52.5540, 39.1653, 88.7784)
Luminance0.3916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CF2 #AAF28C
analogous
#A18CF2 #D48CF2 #F28CDD
triadic
#D48CF2 #F2D48C #8CF2D4
tetradic
#D48CF2 #F2A18C #AAF28C #8CDDF2
square
#D48CF2 #F2A18C #AAF28C #8CDDF2
split-complementary
#D48CF2 #DDF28C #8CF2A1
monochromatic
#AB1EE6 #BF55EC #D48CF2 #E9C3F8 #F5E4FC

Accessibility & contrast

On white

2.38
#D48CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#D48CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CF2
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CF2#FFFFFF#000000##000000
##D48CF21.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#D29AB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d48cf2;
/* rgb */ color: rgb(212, 140, 242);
/* oklch */ color: oklch(75.0% 0.160 315.4);
Tailwind
colors: {
  custom: {
    50: '#e3aff6',
    500: '#d48cf2',
    950: '#000000',
  },
}
SCSS
$custom: #d48cf2;
$custom-light: #e3aff6;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cf2",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 282.353,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74978,
    "c": 0.15958,
    "h": 315.4
  },
  "luminance": 0.39164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D48CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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