#D48EFF#D48EFF

#D48EFF is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.9% C 0.171 H 311.5°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#D48EFF
RGBrgb(212, 142, 255)
HSLhsl(277, 100%, 78%)
HSVhsv(277, 44%, 100%)
CMYKcmyk(16.9%, 44.3%, 0%, 0%)
CIE-LABlab(69.87, 46.20, -46.05)
CIE-LCHlch(69.87, 65.23, 315.10°)
OKLaboklab(75.91% 0.1131 -0.128)
OKLCHoklch(75.91% 0.171 311.5)
XYZxyz(54.8712, 40.5641, 99.5274)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48EFF #B9FF8E
analogous
#9B8EFF #D48EFF #FF8EF2
triadic
#D48EFF #FFD48E #8EFFD4
tetradic
#D48EFF #FF9B8E #B9FF8E #8EF2FF
square
#D48EFF #FF9B8E #B9FF8E #8EF2FF
split-complementary
#D48EFF #F2FF8E #8EFF9B
monochromatic
#A514FF #BD51FF #D48EFF #EBCBFF #F3E0FF

Accessibility & contrast

On white

2.30
#D48EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#D48EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48EFF
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48EFF#FFFFFF#000000##000000
##D48EFF1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#CF9FBB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d48eff;
/* rgb */ color: rgb(212, 142, 255);
/* oklch */ color: oklch(75.9% 0.171 311.5);
Tailwind
colors: {
  custom: {
    50: '#e3b0ff',
    500: '#d48eff',
    950: '#000000',
  },
}
SCSS
$custom: #d48eff;
$custom-light: #e3b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d48eff",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 277.168,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75915,
    "c": 0.17076,
    "h": 311.5
  },
  "luminance": 0.40563
}

Semantic roles & 50–950 ramp

primary
#D48EFF
secondary
#E1F7D4
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D48EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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