#C080F8#C080F8

#C080F8 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.178 H 307.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C080F8
RGBrgb(192, 128, 248)
HSLhsl(272, 90%, 74%)
HSVhsv(272, 48%, 97%)
CMYKcmyk(22.6%, 48.4%, 0%, 2.7%)
CIE-LABlab(64.50, 46.70, -50.82)
CIE-LCHlch(64.50, 69.02, 312.58°)
OKLaboklab(71.33% 0.1075 -0.1422)
OKLCHoklch(71.33% 0.178 307.1)
XYZxyz(46.3973, 33.4226, 92.7957)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C080F8 #B8F880
analogous
#8480F8 #C080F8 #F880F4
triadic
#C080F8 #F8C080 #80F8C0
tetradic
#C080F8 #F88480 #B8F880 #80F4F8
square
#C080F8 #F88480 #B8F880 #80F4F8
split-complementary
#C080F8 #F4F880 #80F884
monochromatic
#860DF0 #A346F5 #C080F8 #DDBAFB #F1E2FD

Accessibility & contrast

On white

2.73
#C080F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#C080F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C080F8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C080F8#FFFFFF#000000##000000
##C080F81.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#B894B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c080f8;
/* rgb */ color: rgb(192, 128, 248);
/* oklch */ color: oklch(71.3% 0.178 307.1);
Tailwind
colors: {
  custom: {
    50: '#d5a6fb',
    500: '#c080f8',
    950: '#000000',
  },
}
SCSS
$custom: #c080f8;
$custom-light: #d5a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c080f8",
  "rgb": {
    "r": 192,
    "g": 128,
    "b": 248
  },
  "hsl": {
    "h": 272,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71328,
    "c": 0.17828,
    "h": 307.1
  },
  "luminance": 0.33422
}

Semantic roles & 50–950 ramp

primary
#C080F8
secondary
#E4F5D6
accent
#E6006B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C080F8

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

Preview Lab → · Contrast checker → · Palette generator →

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