#C181FC#C181FC

#C181FC is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.8% C 0.182 H 306.4°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#C181FC
RGBrgb(193, 129, 252)
HSLhsl(271, 95%, 75%)
HSVhsv(271, 49%, 99%)
CMYKcmyk(23.4%, 48.8%, 0%, 1.2%)
CIE-LABlab(65.02, 47.33, -52.20)
CIE-LCHlch(65.02, 70.46, 312.20°)
OKLaboklab(71.8% 0.1078 -0.1462)
OKLCHoklch(71.8% 0.182 306.4)
XYZxyz(47.4097, 34.0666, 96.1545)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181FC #BCFC81
analogous
#8481FC #C181FC #FC81F9
triadic
#C181FC #FCC181 #81FCC1
tetradic
#C181FC #FC8481 #BCFC81 #81F9FC
square
#C181FC #FC8481 #BCFC81 #81F9FC
split-complementary
#C181FC #F9FC81 #81FC84
monochromatic
#8609F9 #A445FB #C181FC #DEBDFD #F0E1FE

Accessibility & contrast

On white

2.69
#C181FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#C181FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181FC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181FC#FFFFFF#000000##000000
##C181FC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#B896B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c181fc;
/* rgb */ color: rgb(193, 129, 252);
/* oklch */ color: oklch(71.8% 0.182 306.4);
Tailwind
colors: {
  custom: {
    50: '#d6a7fe',
    500: '#c181fc',
    950: '#000000',
  },
}
SCSS
$custom: #c181fc;
$custom-light: #d6a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c181fc",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 271.22,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71799,
    "c": 0.18164,
    "h": 306.4
  },
  "luminance": 0.34066
}

Semantic roles & 50–950 ramp

primary
#C181FC
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C181FC

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

Preview Lab → · Contrast checker → · Palette generator →

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