#D48CFA#D48CFA

#D48CFA is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.4% C 0.168 H 313.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#D48CFA
RGBrgb(212, 140, 250)
HSLhsl(279, 92%, 76%)
HSVhsv(279, 44%, 98%)
CMYKcmyk(15.2%, 44%, 0%, 2%)
CIE-LABlab(69.22, 46.21, -44.34)
CIE-LCHlch(69.22, 64.04, 316.19°)
OKLaboklab(75.36% 0.115 -0.123)
OKLCHoklch(75.36% 0.168 313.1)
XYZxyz(53.7819, 39.6565, 95.2453)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CFA #B2FA8C
analogous
#9D8CFA #D48CFA #FA8CE9
triadic
#D48CFA #FAD48C #8CFAD4
tetradic
#D48CFA #FA9D8C #B2FA8C #8CE9FA
square
#D48CFA #FA9D8C #B2FA8C #8CE9FA
split-complementary
#D48CFA #E9FA8C #8CFA9D
monochromatic
#A817F5 #BE51F7 #D48CFA #EAC7FD #F4E2FE

Accessibility & contrast

On white

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

On black

8.93
#D48CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CFA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CFA#FFFFFF#000000##000000
##D48CFA1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#D19CB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48cfa;
/* rgb */ color: rgb(212, 140, 250);
/* oklch */ color: oklch(75.4% 0.168 313.1);
Tailwind
colors: {
  custom: {
    50: '#e3affc',
    500: '#d48cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d48cfa;
$custom-light: #e3affc;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cfa",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 279.273,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75359,
    "c": 0.16841,
    "h": 313.1
  },
  "luminance": 0.39655
}

Semantic roles & 50–950 ramp

primary
#D48CFA
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D48CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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