#C792DE#C792DE

#C792DE is a light, vivid purple. Relative luminance 0.380; OKLCH L 73.7% C 0.121 H 315.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C792DE
RGBrgb(199, 146, 222)
HSLhsl(282, 54%, 72%)
HSVhsv(282, 34%, 87%)
CMYKcmyk(10.4%, 34.2%, 0%, 12.9%)
CIE-LABlab(68.00, 33.35, -30.97)
CIE-LCHlch(68.00, 45.51, 317.12°)
OKLaboklab(73.74% 0.0858 -0.0849)
OKLCHoklch(73.74% 0.121 315.3)
XYZxyz(47.0149, 37.9748, 73.9463)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792DE #A9DE92
analogous
#A192DE #C792DE #DE92CF
triadic
#C792DE #DEC792 #92DEC7
tetradic
#C792DE #DEA192 #A9DE92 #92CFDE
square
#C792DE #DEA192 #A9DE92 #92CFDE
split-complementary
#C792DE #CFDE92 #92DEA1
monochromatic
#9539BD #AF63D0 #C792DE #DFC1EC #F3E8F8

Accessibility & contrast

On white

2.44
#C792DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C792DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792DE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792DE#FFFFFF#000000##000000
##C792DE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E1
Deuteranopia (green-blind)
#93A7DC
Tritanopia (blue-blind)
#C69CAE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c792de;
/* rgb */ color: rgb(199, 146, 222);
/* oklch */ color: oklch(73.7% 0.121 315.3);
Tailwind
colors: {
  custom: {
    50: '#d9b2e8',
    500: '#c792de',
    950: '#000000',
  },
}
SCSS
$custom: #c792de;
$custom-light: #d9b2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c792de",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 222
  },
  "hsl": {
    "h": 281.842,
    "s": 53.521,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73744,
    "c": 0.12076,
    "h": 315.3
  },
  "luminance": 0.37974
}

Semantic roles & 50–950 ramp

primary
#C792DE
secondary
#E2EFDC
accent
#C12554
background
#FDFBFE
surface
#FAF6FC
border
#D3D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C792DE

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

Preview Lab → · Contrast checker → · Palette generator →

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