#C072DF#C072DF

#C072DF is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.9% C 0.173 H 315.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#C072DF
RGBrgb(192, 114, 223)
HSLhsl(283, 63%, 66%)
HSVhsv(283, 49%, 87%)
CMYKcmyk(13.9%, 48.9%, 0%, 12.5%)
CIE-LABlab(60.40, 48.70, -43.44)
CIE-LCHlch(60.40, 65.26, 318.27°)
OKLaboklab(67.88% 0.1235 -0.1207)
OKLCHoklch(67.88% 0.173 315.6)
XYZxyz(41.0728, 28.5700, 73.1487)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072DF #91DF72
analogous
#8972DF #C072DF #DF72C7
triadic
#C072DF #DFC072 #72DFC0
tetradic
#C072DF #DF8972 #91DF72 #72C7DF
square
#C072DF #DF8972 #91DF72 #72C7DF
split-complementary
#C072DF #C7DF72 #72DF89
monochromatic
#8828AF #AA40D4 #C072DF #D6A4EA #EDD6F6

Accessibility & contrast

On white

3.13
#C072DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#C072DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072DF
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072DF#FFFFFF#000000##000000
##C072DF1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8DE3
Deuteranopia (green-blind)
#7394DC
Tritanopia (blue-blind)
#BE829E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c072df;
/* rgb */ color: rgb(192, 114, 223);
/* oklch */ color: oklch(67.9% 0.173 315.6);
Tailwind
colors: {
  custom: {
    50: '#d59de9',
    500: '#c072df',
    950: '#000000',
  },
}
SCSS
$custom: #c072df;
$custom-light: #d59de9;
$custom-dark: #000000;
JSON
{
  "hex": "#c072df",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 282.936,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.17267,
    "h": 315.6
  },
  "luminance": 0.28569
}

Semantic roles & 50–950 ramp

primary
#C072DF
secondary
#CFE8C4
accent
#CB1B4D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #C072DF

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

Preview Lab → · Contrast checker → · Palette generator →

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