#D48EFA#D48EFA

#D48EFA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.7% C 0.165 H 312.8°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D48EFA
RGBrgb(212, 142, 250)
HSLhsl(279, 92%, 77%)
HSVhsv(279, 43%, 98%)
CMYKcmyk(15.2%, 43.2%, 0%, 2%)
CIE-LABlab(69.64, 45.15, -43.68)
CIE-LCHlch(69.64, 62.82, 315.95°)
OKLaboklab(75.67% 0.1123 -0.1211)
OKLCHoklch(75.67% 0.165 312.8)
XYZxyz(54.0768, 40.2463, 95.3436)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D48EFA #B4FA8E
analogous
#9E8EFA #D48EFA #FA8EEA
triadic
#D48EFA #FAD48E #8EFAD4
tetradic
#D48EFA #FA9E8E #B4FA8E #8EEAFA
square
#D48EFA #FA9E8E #B4FA8E #8EEAFA
split-complementary
#D48EFA #EAFA8E #8EFA9E
monochromatic
#A719F5 #BE53F7 #D48EFA #EAC9FD #F4E2FE

Accessibility & contrast

On white

2.32
#D48EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#D48EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D48EFA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D48EFA#FFFFFF#000000##000000
##D48EFA1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#D19EB8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d48efa;
/* rgb */ color: rgb(212, 142, 250);
/* oklch */ color: oklch(75.7% 0.165 312.8);
Tailwind
colors: {
  custom: {
    50: '#e3b0fc',
    500: '#d48efa',
    950: '#000000',
  },
}
SCSS
$custom: #d48efa;
$custom-light: #e3b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d48efa",
  "rgb": {
    "r": 212,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 278.889,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75674,
    "c": 0.16515,
    "h": 312.8
  },
  "luminance": 0.40245
}

Semantic roles & 50–950 ramp

primary
#D48EFA
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #D48EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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