#C792BF#C792BF

#C792BF is a light, moderate purple. Relative luminance 0.365; OKLCH L 72.5% C 0.088 H 331.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#C792BF
RGBrgb(199, 146, 191)
HSLhsl(309, 32%, 68%)
HSVhsv(309, 27%, 78%)
CMYKcmyk(0%, 26.6%, 4%, 22%)
CIE-LABlab(66.87, 27.33, -15.47)
CIE-LCHlch(66.87, 31.40, 330.49°)
OKLaboklab(72.51% 0.0772 -0.0414)
OKLCHoklch(72.51% 0.088 331.8)
XYZxyz(43.2353, 36.4630, 54.0407)
Luminance0.3646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792BF #92C79A
analogous
#B592C7 #C792BF #C792A4
triadic
#C792BF #BFC792 #92BFC7
tetradic
#C792BF #C7B592 #92C79A #92A4C7
square
#C792BF #C7B592 #92C79A #92A4C7
split-complementary
#C792BF #A4C792 #92C7B5
monochromatic
#934C88 #B26AA7 #C792BF #DCBAD7 #F1E3EE

Accessibility & contrast

On white

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

On black

8.29
#C792BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792BF
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792BF#FFFFFF#000000##000000
##C792BF1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#919EC1
Deuteranopia (green-blind)
#9DA5BD
Tritanopia (blue-blind)
#CC95A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c792bf;
/* rgb */ color: rgb(199, 146, 191);
/* oklch */ color: oklch(72.5% 0.088 331.8);
Tailwind
colors: {
  custom: {
    50: '#d8b2d2',
    500: '#c792bf',
    950: '#000000',
  },
}
SCSS
$custom: #c792bf;
$custom-light: #d8b2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c792bf",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 191
  },
  "hsl": {
    "h": 309.057,
    "s": 32.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72511,
    "c": 0.08759,
    "h": 331.8
  },
  "luminance": 0.36461
}

Semantic roles & 50–950 ramp

primary
#C792BF
secondary
#D2E3D5
accent
#AB4C3B
background
#FDFBFC
surface
#FAF6F9
border
#D3D0D2
text
#141114
muted
#838082

Preview Lab

Preview with #C792BF

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

Preview Lab → · Contrast checker → · Palette generator →

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