#D795FC#D795FC

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

Color values

HEX#D795FC
RGBrgb(215, 149, 252)
HSLhsl(278, 94%, 79%)
HSVhsv(278, 41%, 99%)
CMYKcmyk(14.7%, 40.9%, 0%, 1.2%)
CIE-LABlab(71.54, 42.70, -41.79)
CIE-LCHlch(71.54, 59.75, 315.62°)
OKLaboklab(77.19% 0.1064 -0.1156)
OKLCHoklch(77.19% 0.157 312.6)
XYZxyz(56.3395, 42.9713, 97.4030)
Luminance0.4297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795FC #BAFC95
analogous
#A395FC #D795FC #FC95ED
triadic
#D795FC #FCD795 #95FCD7
tetradic
#D795FC #FCA395 #BAFC95 #95EDFC
square
#D795FC #FCA395 #BAFC95 #95EDFC
split-complementary
#D795FC #EDFC95 #95FCA3
monochromatic
#AA1EF9 #C159FA #D795FC #EDD1FE #F4E1FE

Accessibility & contrast

On white

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

On black

9.59
#D795FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795FC
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795FC#FFFFFF#000000##000000
##D795FC1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#D4A4BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d795fc;
/* rgb */ color: rgb(215, 149, 252);
/* oklch */ color: oklch(77.2% 0.157 312.6);
Tailwind
colors: {
  custom: {
    50: '#e5b5fd',
    500: '#d795fc',
    950: '#000000',
  },
}
SCSS
$custom: #d795fc;
$custom-light: #e5b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d795fc",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 278.447,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77192,
    "c": 0.15711,
    "h": 312.6
  },
  "luminance": 0.4297
}

Semantic roles & 50–950 ramp

primary
#D795FC
secondary
#E1F6D5
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D795FC

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

Preview Lab → · Contrast checker → · Palette generator →

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