#C180FC#C180FC

#C180FC is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.6% C 0.183 H 306.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C180FC
RGBrgb(193, 128, 252)
HSLhsl(271, 95%, 75%)
HSVhsv(271, 49%, 99%)
CMYKcmyk(23.4%, 49.2%, 0%, 1.2%)
CIE-LABlab(64.81, 47.86, -52.53)
CIE-LCHlch(64.81, 71.06, 312.34°)
OKLaboklab(71.64% 0.1091 -0.1472)
OKLCHoklch(71.64% 0.183 306.5)
XYZxyz(47.2786, 33.8045, 96.1108)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C180FC #BBFC80
analogous
#8380FC #C180FC #FC80F9
triadic
#C180FC #FCC180 #80FCC1
tetradic
#C180FC #FC8380 #BBFC80 #80F9FC
square
#C180FC #FC8380 #BBFC80 #80F9FC
split-complementary
#C180FC #F9FC80 #80FC83
monochromatic
#8708F9 #A444FB #C180FC #DEBCFD #F0E1FE

Accessibility & contrast

On white

2.71
#C180FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C180FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C180FC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C180FC#FFFFFF#000000##000000
##C180FC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6F9EF9
Tritanopia (blue-blind)
#B896B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c180fc;
/* rgb */ color: rgb(193, 128, 252);
/* oklch */ color: oklch(71.6% 0.183 306.5);
Tailwind
colors: {
  custom: {
    50: '#d6a6fe',
    500: '#c180fc',
    950: '#000000',
  },
}
SCSS
$custom: #c180fc;
$custom-light: #d6a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c180fc",
  "rgb": {
    "r": 193,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 271.452,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71644,
    "c": 0.18319,
    "h": 306.5
  },
  "luminance": 0.33804
}

Semantic roles & 50–950 ramp

primary
#C180FC
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C180FC

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

Preview Lab → · Contrast checker → · Palette generator →

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