#C072BD#C072BD

#C072BD is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.3% C 0.138 H 328.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#C072BD
RGBrgb(192, 114, 189)
HSLhsl(302, 38%, 60%)
HSVhsv(302, 41%, 75%)
CMYKcmyk(0%, 40.6%, 1.6%, 24.7%)
CIE-LABlab(58.90, 42.05, -26.58)
CIE-LCHlch(58.90, 49.75, 327.71°)
OKLaboklab(66.27% 0.1175 -0.0724)
OKLCHoklch(66.27% 0.138 328.4)
XYZxyz(36.9402, 26.9170, 51.3840)
Luminance0.2692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072BD #72C075
analogous
#9C72C0 #C072BD #C07296
triadic
#C072BD #BDC072 #72BDC0
tetradic
#C072BD #C09C72 #72C075 #7296C0
square
#C072BD #C09C72 #72C075 #7296C0
split-complementary
#C072BD #96C072 #72C09C
monochromatic
#7F397C #A94CA6 #C072BD #D39CD1 #E6C7E5

Accessibility & contrast

On white

3.29
#C072BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#C072BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072BD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072BD#FFFFFF#000000##000000
##C072BD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87C0
Deuteranopia (green-blind)
#8291BB
Tritanopia (blue-blind)
#C5798F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c072bd;
/* rgb */ color: rgb(192, 114, 189);
/* oklch */ color: oklch(66.3% 0.138 328.4);
Tailwind
colors: {
  custom: {
    50: '#d49cd1',
    500: '#c072bd',
    950: '#000000',
  },
}
SCSS
$custom: #c072bd;
$custom-light: #d49cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c072bd",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 302.308,
    "s": 38.235,
    "l": 60
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.13797,
    "h": 328.4
  },
  "luminance": 0.26915
}

Semantic roles & 50–950 ramp

primary
#C072BD
secondary
#B8D6B9
accent
#CE5E5A
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C072BD

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

Preview Lab → · Contrast checker → · Palette generator →

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