#D795FA#D795FA

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

Color values

HEX#D795FA
RGBrgb(215, 149, 250)
HSLhsl(279, 91%, 78%)
HSVhsv(279, 40%, 98%)
CMYKcmyk(14%, 40.4%, 0%, 2%)
CIE-LABlab(71.45, 42.29, -40.83)
CIE-LCHlch(71.45, 58.78, 316.00°)
OKLaboklab(77.1% 0.106 -0.1129)
OKLCHoklch(77.1% 0.155 313.2)
XYZxyz(56.0242, 42.8452, 95.7426)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795FA #B8FA95
analogous
#A495FA #D795FA #FA95EA
triadic
#D795FA #FAD795 #95FAD7
tetradic
#D795FA #FAA495 #B8FA95 #95EAFA
square
#D795FA #FAA495 #B8FA95 #95EAFA
split-complementary
#D795FA #EAFA95 #95FAA4
monochromatic
#AB20F4 #C15BF7 #D795FA #EDCFFD #F4E2FE

Accessibility & contrast

On white

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

On black

9.57
#D795FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795FA
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795FA#FFFFFF#000000##000000
##D795FA1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#D4A3BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d795fa;
/* rgb */ color: rgb(215, 149, 250);
/* oklch */ color: oklch(77.1% 0.155 313.2);
Tailwind
colors: {
  custom: {
    50: '#e5b5fc',
    500: '#d795fa',
    950: '#000000',
  },
}
SCSS
$custom: #d795fa;
$custom-light: #e5b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d795fa",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 279.208,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.771,
    "c": 0.15486,
    "h": 313.2
  },
  "luminance": 0.42844
}

Semantic roles & 50–950 ramp

primary
#D795FA
secondary
#E1F6D5
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D795FA

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

Preview Lab → · Contrast checker → · Palette generator →

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