#C790CA#C790CA

#C790CA is a light, moderate purple. Relative luminance 0.364; OKLCH L 72.6% C 0.102 H 324.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#C790CA
RGBrgb(199, 144, 202)
HSLhsl(297, 35%, 68%)
HSVhsv(297, 29%, 79%)
CMYKcmyk(1.5%, 28.7%, 0%, 20.8%)
CIE-LABlab(66.79, 30.48, -21.73)
CIE-LCHlch(66.79, 37.44, 324.51°)
OKLaboklab(72.57% 0.0835 -0.0589)
OKLCHoklch(72.57% 0.102 324.8)
XYZxyz(44.1860, 36.3543, 60.5552)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C790CA #93CA90
analogous
#AA90CA #C790CA #CA90B0
triadic
#C790CA #CAC790 #90CAC7
tetradic
#C790CA #CAAA90 #93CA90 #90B0CA
square
#C790CA #CAAA90 #93CA90 #90B0CA
split-complementary
#C790CA #B0CA90 #90CAAA
monochromatic
#934897 #B267B6 #C790CA #DCB9DE #F1E3F2

Accessibility & contrast

On white

2.54
#C790CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#C790CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C790CA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C790CA#FFFFFF#000000##000000
##C790CA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECC
Deuteranopia (green-blind)
#98A5C8
Tritanopia (blue-blind)
#CA95A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c790ca;
/* rgb */ color: rgb(199, 144, 202);
/* oklch */ color: oklch(72.6% 0.102 324.8);
Tailwind
colors: {
  custom: {
    50: '#d8b1da',
    500: '#c790ca',
    950: '#000000',
  },
}
SCSS
$custom: #c790ca;
$custom-light: #d8b1da;
$custom-dark: #000000;
JSON
{
  "hex": "#c790ca",
  "rgb": {
    "r": 199,
    "g": 144,
    "b": 202
  },
  "hsl": {
    "h": 296.897,
    "s": 35.366,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72573,
    "c": 0.10218,
    "h": 324.8
  },
  "luminance": 0.36353
}

Semantic roles & 50–950 ramp

primary
#C790CA
secondary
#D3E4D2
accent
#AE373D
background
#FDFAFD
surface
#FAF5FA
border
#D3CFD3
text
#141014
muted
#837F83

Preview Lab

Preview with #C790CA

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

Preview Lab → · Contrast checker → · Palette generator →

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