#C181FD#C181FD

#C181FD is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.183 H 306.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#C181FD
RGBrgb(193, 129, 253)
HSLhsl(271, 97%, 75%)
HSVhsv(271, 49%, 99%)
CMYKcmyk(23.7%, 49%, 0%, 0.8%)
CIE-LABlab(65.07, 47.55, -52.67)
CIE-LCHlch(65.07, 70.96, 312.08°)
OKLaboklab(71.85% 0.1079 -0.1476)
OKLCHoklch(71.85% 0.183 306.2)
XYZxyz(47.5685, 34.1302, 96.9913)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181FD #BDFD81
analogous
#8381FD #C181FD #FD81FB
triadic
#C181FD #FDC181 #81FDC1
tetradic
#C181FD #FD8381 #BDFD81 #81FBFD
square
#C181FD #FD8381 #BDFD81 #81FBFD
split-complementary
#C181FD #FBFD81 #81FD83
monochromatic
#8609FB #A345FC #C181FD #DFBDFE #F0E1FF

Accessibility & contrast

On white

2.68
#C181FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#C181FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181FD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181FD#FFFFFF#000000##000000
##C181FD1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c181fd;
/* rgb */ color: rgb(193, 129, 253);
/* oklch */ color: oklch(71.9% 0.183 306.2);
Tailwind
colors: {
  custom: {
    50: '#d6a7fe',
    500: '#c181fd',
    950: '#000000',
  },
}
SCSS
$custom: #c181fd;
$custom-light: #d6a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c181fd",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 270.968,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71852,
    "c": 0.18281,
    "h": 306.2
  },
  "luminance": 0.3413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C181FD

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

Preview Lab → · Contrast checker → · Palette generator →

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