#D794FC#D794FC

#D794FC is a light, vivid violet. Relative luminance 0.427; OKLCH L 77.0% C 0.159 H 312.7°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#D794FC
RGBrgb(215, 148, 252)
HSLhsl(279, 95%, 78%)
HSVhsv(279, 41%, 99%)
CMYKcmyk(14.7%, 41.3%, 0%, 1.2%)
CIE-LABlab(71.32, 43.24, -42.12)
CIE-LCHlch(71.32, 60.36, 315.75°)
OKLaboklab(77.03% 0.1078 -0.1166)
OKLCHoklch(77.03% 0.159 312.7)
XYZxyz(56.1820, 42.6563, 97.3505)
Luminance0.4265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D794FC #B9FC94
analogous
#A394FC #D794FC #FC94ED
triadic
#D794FC #FCD794 #94FCD7
tetradic
#D794FC #FCA394 #B9FC94 #94EDFC
square
#D794FC #FCA394 #B9FC94 #94EDFC
split-complementary
#D794FC #EDFC94 #94FCA3
monochromatic
#AA1DF9 #C158FA #D794FC #EDD0FE #F4E1FE

Accessibility & contrast

On white

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

On black

9.53
#D794FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D794FC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D794FC#FFFFFF#000000##000000
##D794FC1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#91B0F9
Tritanopia (blue-blind)
#D4A3BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d794fc;
/* rgb */ color: rgb(215, 148, 252);
/* oklch */ color: oklch(77.0% 0.159 312.7);
Tailwind
colors: {
  custom: {
    50: '#e5b4fd',
    500: '#d794fc',
    950: '#000000',
  },
}
SCSS
$custom: #d794fc;
$custom-light: #e5b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d794fc",
  "rgb": {
    "r": 215,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 278.654,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77031,
    "c": 0.15876,
    "h": 312.7
  },
  "luminance": 0.42655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D794FC

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

Preview Lab → · Contrast checker → · Palette generator →

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