#C792DA#C792DA

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

Color values

HEX#C792DA
RGBrgb(199, 146, 218)
HSLhsl(284, 49%, 71%)
HSVhsv(284, 33%, 85%)
CMYKcmyk(8.7%, 33%, 0%, 14.5%)
CIE-LABlab(67.85, 32.54, -29.00)
CIE-LCHlch(67.85, 43.58, 318.29°)
OKLaboklab(73.57% 0.0848 -0.0793)
OKLCHoklch(73.57% 0.116 316.9)
XYZxyz(46.4851, 37.7629, 71.1563)
Luminance0.3776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792DA #A5DA92
analogous
#A392DA #C792DA #DA92C9
triadic
#C792DA #DAC792 #92DAC7
tetradic
#C792DA #DAA392 #A5DA92 #92C9DA
square
#C792DA #DAA392 #A5DA92 #92C9DA
split-complementary
#C792DA #C9DA92 #92DAA3
monochromatic
#953DB4 #B064CA #C792DA #DEC0EA #F3E8F7

Accessibility & contrast

On white

2.46
#C792DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C792DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792DA
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792DA#FFFFFF#000000##000000
##C792DA1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DD
Deuteranopia (green-blind)
#94A7D8
Tritanopia (blue-blind)
#C79BAC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c792da;
/* rgb */ color: rgb(199, 146, 218);
/* oklch */ color: oklch(73.6% 0.116 316.9);
Tailwind
colors: {
  custom: {
    50: '#d9b2e5',
    500: '#c792da',
    950: '#000000',
  },
}
SCSS
$custom: #c792da;
$custom-light: #d9b2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c792da",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 218
  },
  "hsl": {
    "h": 284.167,
    "s": 49.315,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73574,
    "c": 0.11616,
    "h": 316.9
  },
  "luminance": 0.37762
}

Semantic roles & 50–950 ramp

primary
#C792DA
secondary
#DFEDDB
accent
#BD2950
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #C792DA

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

Preview Lab → · Contrast checker → · Palette generator →

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