#C072F8#C072F8

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

Color values

HEX#C072F8
RGBrgb(192, 114, 248)
HSLhsl(275, 91%, 71%)
HSVhsv(275, 54%, 97%)
CMYKcmyk(22.6%, 54%, 0%, 2.7%)
CIE-LABlab(61.67, 54.03, -55.32)
CIE-LCHlch(61.67, 77.33, 314.32°)
OKLaboklab(69.23% 0.1257 -0.1553)
OKLCHoklch(69.23% 0.2 309)
XYZxyz(44.6955, 30.0191, 92.2284)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C072F8 #AAF872
analogous
#7D72F8 #C072F8 #F872ED
triadic
#C072F8 #F8C072 #72F8C0
tetradic
#C072F8 #F87D72 #AAF872 #72EDF8
square
#C072F8 #F87D72 #AAF872 #72EDF8
split-complementary
#C072F8 #EDF872 #72F87D
monochromatic
#8A0BE4 #A638F5 #C072F8 #DAACFB #F2E2FE

Accessibility & contrast

On white

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

On black

7.00
#C072F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C072F8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C072F8#FFFFFF#000000##000000
##C072F81.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FC
Deuteranopia (green-blind)
#6396F5
Tritanopia (blue-blind)
#B88AAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c072f8;
/* rgb */ color: rgb(192, 114, 248);
/* oklch */ color: oklch(69.2% 0.200 309.0);
Tailwind
colors: {
  custom: {
    50: '#d69dfb',
    500: '#c072f8',
    950: '#000000',
  },
}
SCSS
$custom: #c072f8;
$custom-light: #d69dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c072f8",
  "rgb": {
    "r": 192,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 274.925,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69233,
    "c": 0.19978,
    "h": 309
  },
  "luminance": 0.30018
}

Semantic roles & 50–950 ramp

primary
#C072F8
secondary
#E0F5D1
accent
#E60060
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C072F8

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

Preview Lab → · Contrast checker → · Palette generator →

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