#D795EB#D795EB

#D795EB is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.4% C 0.138 H 318.1°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#D795EB
RGBrgb(215, 149, 235)
HSLhsl(286, 68%, 75%)
HSVhsv(286, 37%, 92%)
CMYKcmyk(8.5%, 36.6%, 0%, 7.8%)
CIE-LABlab(70.83, 39.24, -33.61)
CIE-LCHlch(70.83, 51.67, 319.42°)
OKLaboklab(76.43% 0.1029 -0.0922)
OKLCHoklch(76.43% 0.138 318.1)
XYZxyz(53.7651, 41.9416, 83.8445)
Luminance0.4194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795EB #A9EB95
analogous
#AC95EB #D795EB #EB95D4
triadic
#D795EB #EBD795 #95EBD7
tetradic
#D795EB #EBAC95 #A9EB95 #95D4EB
square
#D795EB #EBAC95 #A9EB95 #95D4EB
split-complementary
#D795EB #D4EB95 #95EBAC
monochromatic
#B02ED8 #C462E1 #D795EB #EAC8F5 #F5E5FA

Accessibility & contrast

On white

2.24
#D795EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#D795EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795EB
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795EB#FFFFFF#000000##000000
##D795EB1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#99B0E8
Tritanopia (blue-blind)
#D79FB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d795eb;
/* rgb */ color: rgb(215, 149, 235);
/* oklch */ color: oklch(76.4% 0.138 318.1);
Tailwind
colors: {
  custom: {
    50: '#e4b5f1',
    500: '#d795eb',
    950: '#000000',
  },
}
SCSS
$custom: #d795eb;
$custom-light: #e4b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d795eb",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 286.047,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76429,
    "c": 0.13816,
    "h": 318.1
  },
  "luminance": 0.4194
}

Semantic roles & 50–950 ramp

primary
#D795EB
secondary
#DFF2D9
accent
#D01541
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D795EB

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

Preview Lab → · Contrast checker → · Palette generator →

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