#D790FB#D790FB

#D790FB is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.3% C 0.164 H 313.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#D790FB
RGBrgb(215, 144, 251)
HSLhsl(280, 93%, 77%)
HSVhsv(280, 43%, 98%)
CMYKcmyk(14.3%, 42.6%, 0%, 1.6%)
CIE-LABlab(70.43, 45.15, -42.97)
CIE-LCHlch(70.43, 62.33, 316.42°)
OKLaboklab(76.35% 0.1131 -0.119)
OKLCHoklch(76.35% 0.164 313.5)
XYZxyz(55.4073, 41.3598, 96.3125)
Luminance0.4136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D790FB #B4FB90
analogous
#A290FB #D790FB #FB90E9
triadic
#D790FB #FBD790 #90FBD7
tetradic
#D790FB #FBA290 #B4FB90 #90E9FB
square
#D790FB #FBA290 #B4FB90 #90E9FB
split-complementary
#D790FB #E9FB90 #90FBA2
monochromatic
#AC1AF7 #C255F9 #D790FB #ECCBFD #F4E1FE

Accessibility & contrast

On white

2.26
#D790FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#D790FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D790FB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D790FB#FFFFFF#000000##000000
##D790FB1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#D49FBA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d790fb;
/* rgb */ color: rgb(215, 144, 251);
/* oklch */ color: oklch(76.3% 0.164 313.5);
Tailwind
colors: {
  custom: {
    50: '#e5b2fd',
    500: '#d790fb',
    950: '#000000',
  },
}
SCSS
$custom: #d790fb;
$custom-light: #e5b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d790fb",
  "rgb": {
    "r": 215,
    "g": 144,
    "b": 251
  },
  "hsl": {
    "h": 279.813,
    "s": 93.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76346,
    "c": 0.16423,
    "h": 313.5
  },
  "luminance": 0.41359
}

Semantic roles & 50–950 ramp

primary
#D790FB
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D790FB

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

Preview Lab → · Contrast checker → · Palette generator →

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