#C072DB#C072DB

#C072DB is a light, vivid purple. Relative luminance 0.284; OKLCH L 67.7% C 0.168 H 316.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#C072DB
RGBrgb(192, 114, 219)
HSLhsl(285, 59%, 65%)
HSVhsv(285, 48%, 86%)
CMYKcmyk(12.3%, 47.9%, 0%, 14.1%)
CIE-LABlab(60.21, 47.88, -41.50)
CIE-LCHlch(60.21, 63.36, 319.09°)
OKLaboklab(67.68% 0.1229 -0.1151)
OKLCHoklch(67.68% 0.168 316.9)
XYZxyz(40.5399, 28.3568, 70.3420)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072DB #8DDB72
analogous
#8B72DB #C072DB #DB72C2
triadic
#C072DB #DBC072 #72DBC0
tetradic
#C072DB #DB8B72 #8DDB72 #72C2DB
square
#C072DB #DB8B72 #8DDB72 #72C2DB
split-complementary
#C072DB #C2DB72 #72DB8B
monochromatic
#882BA8 #AA41CF #C072DB #D6A3E7 #ECD4F4

Accessibility & contrast

On white

3.15
#C072DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#C072DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072DB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072DB#FFFFFF#000000##000000
##C072DB1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDF
Deuteranopia (green-blind)
#7594D8
Tritanopia (blue-blind)
#BF819C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c072db;
/* rgb */ color: rgb(192, 114, 219);
/* oklch */ color: oklch(67.7% 0.168 316.9);
Tailwind
colors: {
  custom: {
    50: '#d59de6',
    500: '#c072db',
    950: '#000000',
  },
}
SCSS
$custom: #c072db;
$custom-light: #d59de6;
$custom-dark: #000000;
JSON
{
  "hex": "#c072db",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 284.571,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67678,
    "c": 0.16841,
    "h": 316.9
  },
  "luminance": 0.28356
}

Semantic roles & 50–950 ramp

primary
#C072DB
secondary
#CCE6C3
accent
#C71F4A
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #C072DB

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

Preview Lab → · Contrast checker → · Palette generator →

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