#D795FB#D795FB

#D795FB is a light, vivid violet. Relative luminance 0.429; OKLCH L 77.1% C 0.156 H 312.9°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D795FB
RGBrgb(215, 149, 251)
HSLhsl(279, 93%, 78%)
HSVhsv(279, 41%, 98%)
CMYKcmyk(14.3%, 40.6%, 0%, 1.6%)
CIE-LABlab(71.49, 42.50, -41.31)
CIE-LCHlch(71.49, 59.26, 315.81°)
OKLaboklab(77.15% 0.1062 -0.1143)
OKLCHoklch(77.15% 0.156 312.9)
XYZxyz(56.1814, 42.9081, 96.5706)
Luminance0.4291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D795FB #B9FB95
analogous
#A495FB #D795FB #FB95EC
triadic
#D795FB #FBD795 #95FBD7
tetradic
#D795FB #FBA495 #B9FB95 #95ECFB
square
#D795FB #FBA495 #B9FB95 #95ECFB
split-complementary
#D795FB #ECFB95 #95FBA4
monochromatic
#AA1FF7 #C15AF9 #D795FB #EDD0FD #F4E2FE

Accessibility & contrast

On white

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

On black

9.58
#D795FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D795FB
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D795FB#FFFFFF#000000##000000
##D795FB1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFF
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#D4A4BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d795fb;
/* rgb */ color: rgb(215, 149, 251);
/* oklch */ color: oklch(77.1% 0.156 312.9);
Tailwind
colors: {
  custom: {
    50: '#e5b5fd',
    500: '#d795fb',
    950: '#000000',
  },
}
SCSS
$custom: #d795fb;
$custom-light: #e5b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d795fb",
  "rgb": {
    "r": 215,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 278.824,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77146,
    "c": 0.15598,
    "h": 312.9
  },
  "luminance": 0.42907
}

Semantic roles & 50–950 ramp

primary
#D795FB
secondary
#E1F6D5
accent
#E60051
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D795FB

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

Preview Lab → · Contrast checker → · Palette generator →

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