#D795F9#D795F9

#D795F9 is a light, vivid violet. Relative luminance 0.428; OKLCH L 77.1% C 0.154 H 313.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#D795F9
RGBrgb(215, 149, 249)
HSLhsl(280, 89%, 78%)
HSVhsv(280, 40%, 98%)
CMYKcmyk(13.7%, 40.2%, 0%, 2.4%)
CIE-LABlab(71.41, 42.08, -40.35)
CIE-LCHlch(71.41, 58.30, 316.20°)
OKLaboklab(77.05% 0.1058 -0.1115)
OKLCHoklch(77.05% 0.154 313.5)
XYZxyz(55.8679, 42.7827, 94.9190)
Luminance0.4278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795F9 #B7F995
analogous
#A595F9 #D795F9 #F995E9
triadic
#D795F9 #F9D795 #95F9D7
tetradic
#D795F9 #F9A595 #B7F995 #95E9F9
square
#D795F9 #F9A595 #B7F995 #95E9F9
split-complementary
#D795F9 #E9F995 #95F9A5
monochromatic
#AB21F2 #C15BF6 #D795F9 #EDCFFC #F4E2FD

Accessibility & contrast

On white

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

On black

9.56
#D795F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795F9
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795F9#FFFFFF#000000##000000
##D795F91.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFD
Deuteranopia (green-blind)
#93B1F6
Tritanopia (blue-blind)
#D4A3BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d795f9;
/* rgb */ color: rgb(215, 149, 249);
/* oklch */ color: oklch(77.1% 0.154 313.5);
Tailwind
colors: {
  custom: {
    50: '#e5b5fb',
    500: '#d795f9',
    950: '#000000',
  },
}
SCSS
$custom: #d795f9;
$custom-light: #e5b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d795f9",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 279.6,
    "s": 89.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77054,
    "c": 0.15372,
    "h": 313.5
  },
  "luminance": 0.42782
}

Semantic roles & 50–950 ramp

primary
#D795F9
secondary
#E0F5D6
accent
#E6004E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D795F9

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

Preview Lab → · Contrast checker → · Palette generator →

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