#C072FC#C072FC

#C072FC is a light, highly saturated violet. Relative luminance 0.303; OKLCH L 69.5% C 0.204 H 308.1°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#C072FC
RGBrgb(192, 114, 252)
HSLhsl(274, 96%, 72%)
HSVhsv(274, 55%, 99%)
CMYKcmyk(23.8%, 54.8%, 0%, 1.2%)
CIE-LABlab(61.89, 54.91, -57.18)
CIE-LCHlch(61.89, 79.28, 313.84°)
OKLaboklab(69.46% 0.1259 -0.1607)
OKLCHoklch(69.46% 0.204 308.1)
XYZxyz(45.3227, 30.2700, 95.5317)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072FC #AEFC72
analogous
#7B72FC #C072FC #FC72F3
triadic
#C072FC #FCC072 #72FCC0
tetradic
#C072FC #FC7B72 #AEFC72 #72F3FC
square
#C072FC #FC7B72 #AEFC72 #72F3FC
split-complementary
#C072FC #F3FC72 #72FC7B
monochromatic
#8905EF #A536FB #C072FC #DBAEFD #F2E1FE

Accessibility & contrast

On white

2.98
#C072FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#C072FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C072FC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072FC#FFFFFF#000000##000000
##C072FC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#6096F9
Tritanopia (blue-blind)
#B78BAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c072fc;
/* rgb */ color: rgb(192, 114, 252);
/* oklch */ color: oklch(69.5% 0.204 308.1);
Tailwind
colors: {
  custom: {
    50: '#d69dfe',
    500: '#c072fc',
    950: '#000000',
  },
}
SCSS
$custom: #c072fc;
$custom-light: #d69dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c072fc",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 273.913,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69461,
    "c": 0.20415,
    "h": 308.1
  },
  "luminance": 0.30269
}

Semantic roles & 50–950 ramp

primary
#C072FC
secondary
#E3F6D3
accent
#E60064
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C072FC

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

Preview Lab → · Contrast checker → · Palette generator →

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