#C181FA#C181FA

#C181FA is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.7% C 0.179 H 306.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C181FA
RGBrgb(193, 129, 250)
HSLhsl(272, 92%, 74%)
HSVhsv(272, 48%, 98%)
CMYKcmyk(22.8%, 48.4%, 0%, 2%)
CIE-LABlab(64.92, 46.88, -51.26)
CIE-LCHlch(64.92, 69.47, 312.44°)
OKLaboklab(71.69% 0.1076 -0.1435)
OKLCHoklch(71.69% 0.179 306.9)
XYZxyz(47.0944, 33.9405, 94.4941)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181FA #BAFA81
analogous
#8581FA #C181FA #FA81F6
triadic
#C181FA #FAC181 #81FAC1
tetradic
#C181FA #FA8581 #BAFA81 #81F6FA
square
#C181FA #FA8581 #BAFA81 #81F6FA
split-complementary
#C181FA #F6FA81 #81FA85
monochromatic
#870BF5 #A446F8 #C181FA #DEBCFC #F1E2FE

Accessibility & contrast

On white

2.70
#C181FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#C181FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181FA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181FA#FFFFFF#000000##000000
##C181FA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#B896B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c181fa;
/* rgb */ color: rgb(193, 129, 250);
/* oklch */ color: oklch(71.7% 0.179 306.9);
Tailwind
colors: {
  custom: {
    50: '#d6a7fc',
    500: '#c181fa',
    950: '#000000',
  },
}
SCSS
$custom: #c181fa;
$custom-light: #d6a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c181fa",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 271.736,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71692,
    "c": 0.17932,
    "h": 306.9
  },
  "luminance": 0.3394
}

Semantic roles & 50–950 ramp

primary
#C181FA
secondary
#E5F6D5
accent
#E6006C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C181FA

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

Preview Lab → · Contrast checker → · Palette generator →

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