#C792DB#C792DB

#C792DB is a light, moderate purple. Relative luminance 0.378; OKLCH L 73.6% C 0.117 H 316.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#C792DB
RGBrgb(199, 146, 219)
HSLhsl(284, 50%, 72%)
HSVhsv(284, 33%, 86%)
CMYKcmyk(9.1%, 33.3%, 0%, 14.1%)
CIE-LABlab(67.88, 32.74, -29.49)
CIE-LCHlch(67.88, 44.06, 317.99°)
OKLaboklab(73.62% 0.0851 -0.0807)
OKLCHoklch(73.62% 0.117 316.5)
XYZxyz(46.6164, 37.8154, 71.8475)
Luminance0.3781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792DB #A6DB92
analogous
#A392DB #C792DB #DB92CB
triadic
#C792DB #DBC792 #92DBC7
tetradic
#C792DB #DBA392 #A6DB92 #92CBDB
square
#C792DB #DBA392 #A6DB92 #92CBDB
split-complementary
#C792DB #CBDB92 #92DBA3
monochromatic
#953CB6 #AF64CC #C792DB #DFC0EA #F3E8F7

Accessibility & contrast

On white

2.45
#C792DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C792DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792DB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792DB#FFFFFF#000000##000000
##C792DB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DE
Deuteranopia (green-blind)
#94A7D9
Tritanopia (blue-blind)
#C79BAD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c792db;
/* rgb */ color: rgb(199, 146, 219);
/* oklch */ color: oklch(73.6% 0.117 316.5);
Tailwind
colors: {
  custom: {
    50: '#d9b2e6',
    500: '#c792db',
    950: '#000000',
  },
}
SCSS
$custom: #c792db;
$custom-light: #d9b2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c792db",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 219
  },
  "hsl": {
    "h": 283.562,
    "s": 50.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73616,
    "c": 0.11731,
    "h": 316.5
  },
  "luminance": 0.37814
}

Semantic roles & 50–950 ramp

primary
#C792DB
secondary
#E0EEDB
accent
#BE2851
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C792DB

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

Preview Lab → · Contrast checker → · Palette generator →

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