#D795E2#D795E2

#D795E2 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.0% C 0.129 H 321.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#D795E2
RGBrgb(215, 149, 226)
HSLhsl(291, 57%, 74%)
HSVhsv(291, 34%, 89%)
CMYKcmyk(4.9%, 34.1%, 0%, 11.4%)
CIE-LABlab(70.48, 37.48, -29.21)
CIE-LCHlch(70.48, 47.52, 322.07°)
OKLaboklab(76.05% 0.1008 -0.0797)
OKLCHoklch(76.05% 0.129 321.6)
XYZxyz(52.4976, 41.4346, 77.1690)
Luminance0.4143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795E2 #A0E295
analogous
#B095E2 #D795E2 #E295C6
triadic
#D795E2 #E2D795 #95E2D7
tetradic
#D795E2 #E2B095 #A0E295 #95C6E2
square
#D795E2 #E2B095 #A0E295 #95C6E2
split-complementary
#D795E2 #C6E295 #95E2B0
monochromatic
#B236C6 #C565D5 #D795E2 #E9C5EF #F6E7F8

Accessibility & contrast

On white

2.26
#D795E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#D795E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795E2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795E2#FFFFFF#000000##000000
##D795E21.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E5
Deuteranopia (green-blind)
#9DAFE0
Tritanopia (blue-blind)
#D99DB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d795e2;
/* rgb */ color: rgb(215, 149, 226);
/* oklch */ color: oklch(76.0% 0.129 321.6);
Tailwind
colors: {
  custom: {
    50: '#e4b5eb',
    500: '#d795e2',
    950: '#000000',
  },
}
SCSS
$custom: #d795e2;
$custom-light: #e4b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d795e2",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 226
  },
  "hsl": {
    "h": 291.429,
    "s": 57.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76048,
    "c": 0.1285,
    "h": 321.6
  },
  "luminance": 0.41433
}

Semantic roles & 50–950 ramp

primary
#D795E2
secondary
#DEF0DB
accent
#C52138
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D795E2

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

Preview Lab → · Contrast checker → · Palette generator →

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