#C072FE#C072FE

#C072FE is a light, highly saturated violet. Relative luminance 0.304; OKLCH L 69.6% C 0.206 H 307.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C072FE
RGBrgb(192, 114, 254)
HSLhsl(273, 99%, 72%)
HSVhsv(273, 55%, 100%)
CMYKcmyk(24.4%, 55.1%, 0%, 0.4%)
CIE-LABlab(62.00, 55.35, -58.11)
CIE-LCHlch(62.00, 80.25, 313.61°)
OKLaboklab(69.58% 0.1259 -0.1635)
OKLCHoklch(69.58% 0.206 307.6)
XYZxyz(45.6413, 30.3974, 97.2096)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072FE #B0FE72
analogous
#7A72FE #C072FE #FE72F6
triadic
#C072FE #FEC072 #72FEC0
tetradic
#C072FE #FE7A72 #B0FE72 #72F6FE
square
#C072FE #FE7A72 #B0FE72 #72F6FE
split-complementary
#C072FE #F6FE72 #72FE7A
monochromatic
#8902F4 #A535FE #C072FE #DBAFFE #F1E1FF

Accessibility & contrast

On white

2.97
#C072FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C072FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C072FE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072FE#FFFFFF#000000##000000
##C072FE1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#B78CAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c072fe;
/* rgb */ color: rgb(192, 114, 254);
/* oklch */ color: oklch(69.6% 0.206 307.6);
Tailwind
colors: {
  custom: {
    50: '#d69dff',
    500: '#c072fe',
    950: '#000000',
  },
}
SCSS
$custom: #c072fe;
$custom-light: #d69dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c072fe",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 273.429,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.20634,
    "h": 307.6
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#C072FE
secondary
#E3F7D4
accent
#E60066
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C072FE

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

Preview Lab → · Contrast checker → · Palette generator →

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