#D795FD#D795FD

#D795FD is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.2% C 0.158 H 312.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#D795FD
RGBrgb(215, 149, 253)
HSLhsl(278, 96%, 79%)
HSVhsv(278, 41%, 99%)
CMYKcmyk(15%, 41.1%, 0%, 0.8%)
CIE-LABlab(71.58, 42.91, -42.26)
CIE-LCHlch(71.58, 60.23, 315.44°)
OKLaboklab(77.24% 0.1065 -0.117)
OKLCHoklch(77.24% 0.158 312.3)
XYZxyz(56.4984, 43.0349, 98.2397)
Luminance0.4303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795FD #BBFD95
analogous
#A395FD #D795FD #FD95EF
triadic
#D795FD #FDD795 #95FDD7
tetradic
#D795FD #FDA395 #BBFD95 #95EFFD
square
#D795FD #FDA395 #BBFD95 #95EFFD
split-complementary
#D795FD #EFFD95 #95FDA3
monochromatic
#AA1DFB #C059FC #D795FD #EED1FE #F4E1FE

Accessibility & contrast

On white

2.19
#D795FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#D795FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795FD
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795FD#FFFFFF#000000##000000
##D795FD1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#91B1FA
Tritanopia (blue-blind)
#D3A4BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d795fd;
/* rgb */ color: rgb(215, 149, 253);
/* oklch */ color: oklch(77.2% 0.158 312.3);
Tailwind
colors: {
  custom: {
    50: '#e5b5fe',
    500: '#d795fd',
    950: '#000000',
  },
}
SCSS
$custom: #d795fd;
$custom-light: #e5b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d795fd",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 278.077,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.15825,
    "h": 312.3
  },
  "luminance": 0.43034
}

Semantic roles & 50–950 ramp

primary
#D795FD
secondary
#E1F7D4
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D795FD

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

Preview Lab → · Contrast checker → · Palette generator →

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