#D795F8#D795F8

#D795F8 is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.0% C 0.153 H 313.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#D795F8
RGBrgb(215, 149, 248)
HSLhsl(280, 88%, 78%)
HSVhsv(280, 40%, 97%)
CMYKcmyk(13.3%, 39.9%, 0%, 2.7%)
CIE-LABlab(71.36, 41.88, -39.88)
CIE-LCHlch(71.36, 57.82, 316.40°)
OKLaboklab(77.01% 0.1056 -0.1101)
OKLCHoklch(77.01% 0.153 313.8)
XYZxyz(55.7123, 42.7204, 94.0998)
Luminance0.4272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795F8 #B6F895
analogous
#A595F8 #D795F8 #F895E7
triadic
#D795F8 #F8D795 #95F8D7
tetradic
#D795F8 #F8A595 #B6F895 #95E7F8
square
#D795F8 #F8A595 #B6F895 #95E7F8
split-complementary
#D795F8 #E7F895 #95F8A5
monochromatic
#AC22F0 #C15CF4 #D795F8 #EDCEFC #F4E2FD

Accessibility & contrast

On white

2.20
#D795F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#D795F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795F8
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795F8#FFFFFF#000000##000000
##D795F81.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFC
Deuteranopia (green-blind)
#94B1F5
Tritanopia (blue-blind)
#D5A3BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d795f8;
/* rgb */ color: rgb(215, 149, 248);
/* oklch */ color: oklch(77.0% 0.153 313.8);
Tailwind
colors: {
  custom: {
    50: '#e5b5fb',
    500: '#d795f8',
    950: '#000000',
  },
}
SCSS
$custom: #d795f8;
$custom-light: #e5b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d795f8",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77008,
    "c": 0.15259,
    "h": 313.8
  },
  "luminance": 0.42719
}

Semantic roles & 50–950 ramp

primary
#D795F8
secondary
#E0F5D6
accent
#E4014D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D795F8

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

Preview Lab → · Contrast checker → · Palette generator →

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