#C080F2#C080F2

#C080F2 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.0% C 0.171 H 308.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#C080F2
RGBrgb(192, 128, 242)
HSLhsl(274, 81%, 73%)
HSVhsv(274, 47%, 95%)
CMYKcmyk(20.7%, 47.1%, 0%, 5.1%)
CIE-LABlab(64.21, 45.37, -47.99)
CIE-LCHlch(64.21, 66.04, 313.39°)
OKLaboklab(71.01% 0.1068 -0.134)
OKLCHoklch(71.01% 0.171 308.5)
XYZxyz(45.4813, 33.0562, 87.9717)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C080F2 #B2F280
analogous
#8780F2 #C080F2 #F280EB
triadic
#C080F2 #F2C080 #80F2C0
tetradic
#C080F2 #F28780 #B2F280 #80EBF2
square
#C080F2 #F28780 #B2F280 #80EBF2
split-complementary
#C080F2 #EBF280 #80F287
monochromatic
#8817E1 #A448EC #C080F2 #DCB8F8 #F1E3FC

Accessibility & contrast

On white

2.76
#C080F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#C080F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C080F2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C080F2#FFFFFF#000000##000000
##C080F21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#B993AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c080f2;
/* rgb */ color: rgb(192, 128, 242);
/* oklch */ color: oklch(71.0% 0.171 308.5);
Tailwind
colors: {
  custom: {
    50: '#d5a6f7',
    500: '#c080f2',
    950: '#000000',
  },
}
SCSS
$custom: #c080f2;
$custom-light: #d5a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c080f2",
  "rgb": {
    "r": 192,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 273.684,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71011,
    "c": 0.17133,
    "h": 308.5
  },
  "luminance": 0.33056
}

Semantic roles & 50–950 ramp

primary
#C080F2
secondary
#E4F4D7
accent
#DE0866
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #C080F2

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

Preview Lab → · Contrast checker → · Palette generator →

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