#C790CD#C790CD

#C790CD is a light, moderate purple. Relative luminance 0.365; OKLCH L 72.7% C 0.105 H 323.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#C790CD
RGBrgb(199, 144, 205)
HSLhsl(294, 38%, 68%)
HSVhsv(294, 30%, 80%)
CMYKcmyk(2.9%, 29.8%, 0%, 19.6%)
CIE-LABlab(66.90, 31.06, -23.24)
CIE-LCHlch(66.90, 38.79, 323.20°)
OKLaboklab(72.69% 0.0844 -0.0631)
OKLCHoklch(72.69% 0.105 323.2)
XYZxyz(44.5446, 36.4977, 62.4440)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C790CD #96CD90
analogous
#A890CD #C790CD #CD90B4
triadic
#C790CD #CDC790 #90CDC7
tetradic
#C790CD #CDA890 #96CD90 #90B4CD
square
#C790CD #CDA890 #96CD90 #90B4CD
split-complementary
#C790CD #B4CD90 #90CDA8
monochromatic
#94469C #B266BA #C790CD #DCBAE0 #F2E4F3

Accessibility & contrast

On white

2.53
#C790CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#C790CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C790CD
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C790CD#FFFFFF#000000##000000
##C790CD1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FCF
Deuteranopia (green-blind)
#97A5CB
Tritanopia (blue-blind)
#C996A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c790cd;
/* rgb */ color: rgb(199, 144, 205);
/* oklch */ color: oklch(72.7% 0.105 323.2);
Tailwind
colors: {
  custom: {
    50: '#d9b1dc',
    500: '#c790cd',
    950: '#000000',
  },
}
SCSS
$custom: #c790cd;
$custom-light: #d9b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c790cd",
  "rgb": {
    "r": 199,
    "g": 144,
    "b": 205
  },
  "hsl": {
    "h": 294.098,
    "s": 37.888,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72692,
    "c": 0.10535,
    "h": 323.2
  },
  "luminance": 0.36496
}

Semantic roles & 50–950 ramp

primary
#C790CD
secondary
#D5E6D3
accent
#B13541
background
#FDFAFD
surface
#FAF5FB
border
#D3CFD4
text
#141115
muted
#838083

Preview Lab

Preview with #C790CD

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

Preview Lab → · Contrast checker → · Palette generator →

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