#D794FF#D794FF

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

Color values

HEX#D794FF
RGBrgb(215, 148, 255)
HSLhsl(278, 100%, 79%)
HSVhsv(278, 42%, 100%)
CMYKcmyk(15.7%, 42%, 0%, 0%)
CIE-LABlab(71.45, 43.86, -43.55)
CIE-LCHlch(71.45, 61.81, 315.21°)
OKLaboklab(77.17% 0.1083 -0.1207)
OKLCHoklch(77.17% 0.162 311.9)
XYZxyz(56.6611, 42.8479, 99.8740)
Luminance0.4285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D794FF #BCFF94
analogous
#A294FF #D794FF #FF94F2
triadic
#D794FF #FFD794 #94FFD7
tetradic
#D794FF #FFA294 #BCFF94 #94F2FF
square
#D794FF #FFA294 #BCFF94 #94F2FF
split-complementary
#D794FF #F2FF94 #94FFA2
monochromatic
#A91AFF #C057FF #D794FF #EED1FF #F4E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D794FF#FFFFFF#000000##000000
##D794FF1.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)
#7EABFF
Deuteranopia (green-blind)
#8FB0FC
Tritanopia (blue-blind)
#D3A4BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d794ff;
/* rgb */ color: rgb(215, 148, 255);
/* oklch */ color: oklch(77.2% 0.162 311.9);
Tailwind
colors: {
  custom: {
    50: '#e5b4ff',
    500: '#d794ff',
    950: '#000000',
  },
}
SCSS
$custom: #d794ff;
$custom-light: #e5b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d794ff",
  "rgb": {
    "r": 215,
    "g": 148,
    "b": 255
  },
  "hsl": {
    "h": 277.57,
    "s": 100,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77172,
    "c": 0.16216,
    "h": 311.9
  },
  "luminance": 0.42847
}

Semantic roles & 50–950 ramp

primary
#D794FF
secondary
#E1F7D4
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D794FF

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

Preview Lab → · Contrast checker → · Palette generator →

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