#C072F7#C072F7

#C072F7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.2% C 0.199 H 309.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C072F7
RGBrgb(192, 114, 247)
HSLhsl(275, 89%, 71%)
HSVhsv(275, 54%, 97%)
CMYKcmyk(22.3%, 53.8%, 0%, 3.1%)
CIE-LABlab(61.62, 53.81, -54.85)
CIE-LCHlch(61.62, 76.84, 314.45°)
OKLaboklab(69.18% 0.1256 -0.1539)
OKLCHoklch(69.18% 0.199 309.2)
XYZxyz(44.5408, 29.9572, 91.4136)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072F7 #A9F772
analogous
#7D72F7 #C072F7 #F772EB
triadic
#C072F7 #F7C072 #72F7C0
tetradic
#C072F7 #F77D72 #A9F772 #72EBF7
square
#C072F7 #F77D72 #A9F772 #72EBF7
split-complementary
#C072F7 #EBF772 #72F77D
monochromatic
#8A0DE2 #A638F4 #C072F7 #DAACFA #F2E2FD

Accessibility & contrast

On white

3.00
#C072F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C072F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C072F7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072F7#FFFFFF#000000##000000
##C072F71.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#6496F4
Tritanopia (blue-blind)
#B98AAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c072f7;
/* rgb */ color: rgb(192, 114, 247);
/* oklch */ color: oklch(69.2% 0.199 309.2);
Tailwind
colors: {
  custom: {
    50: '#d69dfa',
    500: '#c072f7',
    950: '#000000',
  },
}
SCSS
$custom: #c072f7;
$custom-light: #d69dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#c072f7",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 275.188,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69176,
    "c": 0.19868,
    "h": 309.2
  },
  "luminance": 0.29956
}

Semantic roles & 50–950 ramp

primary
#C072F7
secondary
#DFF4D1
accent
#E6005F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C072F7

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

Preview Lab → · Contrast checker → · Palette generator →

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