#C181FB#C181FB

#C181FB is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.7% C 0.180 H 306.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#C181FB
RGBrgb(193, 129, 251)
HSLhsl(271, 94%, 75%)
HSVhsv(271, 49%, 98%)
CMYKcmyk(23.1%, 48.6%, 0%, 1.6%)
CIE-LABlab(64.97, 47.10, -51.73)
CIE-LCHlch(64.97, 69.96, 312.32°)
OKLaboklab(71.75% 0.1077 -0.1449)
OKLCHoklch(71.75% 0.18 306.6)
XYZxyz(47.2516, 34.0034, 95.3221)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181FB #BBFB81
analogous
#8481FB #C181FB #FB81F8
triadic
#C181FB #FBC181 #81FBC1
tetradic
#C181FB #FB8481 #BBFB81 #81F8FB
square
#C181FB #FB8481 #BBFB81 #81F8FB
split-complementary
#C181FB #F8FB81 #81FB84
monochromatic
#870AF7 #A446F9 #C181FB #DEBCFD #F0E1FE

Accessibility & contrast

On white

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

On black

7.80
#C181FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C181FB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C181FB#FFFFFF#000000##000000
##C181FB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#B896B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c181fb;
/* rgb */ color: rgb(193, 129, 251);
/* oklch */ color: oklch(71.7% 0.180 306.6);
Tailwind
colors: {
  custom: {
    50: '#d6a7fd',
    500: '#c181fb',
    950: '#000000',
  },
}
SCSS
$custom: #c181fb;
$custom-light: #d6a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c181fb",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 271.475,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.18049,
    "h": 306.6
  },
  "luminance": 0.34003
}

Semantic roles & 50–950 ramp

primary
#C181FB
secondary
#E5F6D5
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C181FB

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

Preview Lab → · Contrast checker → · Palette generator →

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