#D48CFB#D48CFB

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

Color values

HEX#D48CFB
RGBrgb(212, 140, 251)
HSLhsl(279, 93%, 77%)
HSVhsv(279, 44%, 98%)
CMYKcmyk(15.5%, 44.2%, 0%, 1.6%)
CIE-LABlab(69.27, 46.42, -44.81)
CIE-LCHlch(69.27, 64.52, 316.01°)
OKLaboklab(75.41% 0.1152 -0.1244)
OKLCHoklch(75.41% 0.17 312.8)
XYZxyz(53.9391, 39.7194, 96.0732)
Luminance0.3972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48CFB #B3FB8C
analogous
#9D8CFB #D48CFB #FB8CEB
triadic
#D48CFB #FBD48C #8CFBD4
tetradic
#D48CFB #FB9D8C #B3FB8C #8CEBFB
square
#D48CFB #FB9D8C #B3FB8C #8CEBFB
split-complementary
#D48CFB #EBFB8C #8CFB9D
monochromatic
#A816F7 #BE51F9 #D48CFB #EAC7FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.94
#D48CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48CFB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48CFB#FFFFFF#000000##000000
##D48CFB1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#D09DB8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d48cfb;
/* rgb */ color: rgb(212, 140, 251);
/* oklch */ color: oklch(75.4% 0.170 312.8);
Tailwind
colors: {
  custom: {
    50: '#e3affd',
    500: '#d48cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d48cfb;
$custom-light: #e3affd;
$custom-dark: #000000;
JSON
{
  "hex": "#d48cfb",
  "rgb": {
    "r": 212,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 278.919,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75407,
    "c": 0.16953,
    "h": 312.8
  },
  "luminance": 0.39718
}

Semantic roles & 50–950 ramp

primary
#D48CFB
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D48CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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