#C790DB#C790DB

#C790DB is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.3% C 0.121 H 316.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#C790DB
RGBrgb(199, 144, 219)
HSLhsl(284, 51%, 71%)
HSVhsv(284, 34%, 86%)
CMYKcmyk(9.1%, 34.2%, 0%, 14.1%)
CIE-LABlab(67.43, 33.83, -30.19)
CIE-LCHlch(67.43, 45.35, 318.26°)
OKLaboklab(73.27% 0.088 -0.0827)
OKLCHoklch(73.27% 0.121 316.8)
XYZxyz(46.3108, 37.2042, 71.7456)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C790DB #A4DB90
analogous
#A190DB #C790DB #DB90C9
triadic
#C790DB #DBC790 #90DBC7
tetradic
#C790DB #DBA190 #A4DB90 #90C9DB
square
#C790DB #DBA190 #A4DB90 #90C9DB
split-complementary
#C790DB #C9DB90 #90DBA1
monochromatic
#953BB6 #B062CC #C790DB #DEBEEA #F3E8F8

Accessibility & contrast

On white

2.49
#C790DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#C790DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C790DB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C790DB#FFFFFF#000000##000000
##C790DB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A1DE
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#C799AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c790db;
/* rgb */ color: rgb(199, 144, 219);
/* oklch */ color: oklch(73.3% 0.121 316.8);
Tailwind
colors: {
  custom: {
    50: '#d9b1e6',
    500: '#c790db',
    950: '#000000',
  },
}
SCSS
$custom: #c790db;
$custom-light: #d9b1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c790db",
  "rgb": {
    "r": 199,
    "g": 144,
    "b": 219
  },
  "hsl": {
    "h": 284,
    "s": 51.02,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73271,
    "c": 0.12081,
    "h": 316.8
  },
  "luminance": 0.37203
}

Semantic roles & 50–950 ramp

primary
#C790DB
secondary
#DFEDDA
accent
#BE274F
background
#FDFAFE
surface
#FAF5FC
border
#D3CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #C790DB

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

Preview Lab → · Contrast checker → · Palette generator →

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