#D48CFD#D48CFD

#D48CFD is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.5% C 0.172 H 312.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D48CFD
RGBrgb(212, 140, 253)
HSLhsl(278, 97%, 77%)
HSVhsv(278, 45%, 99%)
CMYKcmyk(16.2%, 44.7%, 0%, 0.8%)
CIE-LABlab(69.36, 46.84, -45.76)
CIE-LCHlch(69.36, 65.48, 315.67°)
OKLaboklab(75.51% 0.1155 -0.1271)
OKLCHoklch(75.51% 0.172 312.3)
XYZxyz(54.2560, 39.8462, 97.7424)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CFD #B5FD8C
analogous
#9C8CFD #D48CFD #FD8CEE
triadic
#D48CFD #FDD48C #8CFDD4
tetradic
#D48CFD #FD9C8C #B5FD8C #8CEEFD
square
#D48CFD #FD9C8C #B5FD8C #8CEEFD
split-complementary
#D48CFD #EEFD8C #8CFD9C
monochromatic
#A714FB #BE50FC #D48CFD #EAC8FE #F4E1FE

Accessibility & contrast

On white

2.34
#D48CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D48CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CFD
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CFD#FFFFFF#000000##000000
##D48CFD1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#D09DB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48cfd;
/* rgb */ color: rgb(212, 140, 253);
/* oklch */ color: oklch(75.5% 0.172 312.3);
Tailwind
colors: {
  custom: {
    50: '#e3affe',
    500: '#d48cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d48cfd;
$custom-light: #e3affe;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cfd",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 278.23,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.17175,
    "h": 312.3
  },
  "luminance": 0.39845
}

Semantic roles & 50–950 ramp

primary
#D48CFD
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D48CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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