#D795FF#D795FF

#D795FF is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.3% C 0.161 H 311.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#D795FF
RGBrgb(215, 149, 255)
HSLhsl(277, 100%, 79%)
HSVhsv(277, 42%, 100%)
CMYKcmyk(15.7%, 41.6%, 0%, 0%)
CIE-LABlab(71.67, 43.33, -43.21)
CIE-LCHlch(71.67, 61.19, 315.08°)
OKLaboklab(77.33% 0.1069 -0.1197)
OKLCHoklch(77.33% 0.161 311.8)
XYZxyz(56.8186, 43.1630, 99.9265)
Luminance0.4316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795FF #BDFF95
analogous
#A295FF #D795FF #FF95F2
triadic
#D795FF #FFD795 #95FFD7
tetradic
#D795FF #FFA295 #BDFF95 #95F2FF
square
#D795FF #FFA295 #BDFF95 #95F2FF
split-complementary
#D795FF #F2FF95 #95FFA2
monochromatic
#A91BFF #C058FF #D795FF #EED2FF #F3E0FF

Accessibility & contrast

On white

2.18
#D795FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#D795FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795FF
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795FF#FFFFFF#000000##000000
##D795FF1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#90B1FC
Tritanopia (blue-blind)
#D3A5BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d795ff;
/* rgb */ color: rgb(215, 149, 255);
/* oklch */ color: oklch(77.3% 0.161 311.8);
Tailwind
colors: {
  custom: {
    50: '#e5b5ff',
    500: '#d795ff',
    950: '#000000',
  },
}
SCSS
$custom: #d795ff;
$custom-light: #e5b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d795ff",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 277.358,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77332,
    "c": 0.16052,
    "h": 311.8
  },
  "luminance": 0.43162
}

Semantic roles & 50–950 ramp

primary
#D795FF
secondary
#E1F7D4
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D795FF

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

Preview Lab → · Contrast checker → · Palette generator →

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