#C181F8#C181F8

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

Color values

HEX#C181F8
RGBrgb(193, 129, 248)
HSLhsl(272, 89%, 74%)
HSVhsv(272, 48%, 97%)
CMYKcmyk(22.2%, 48%, 0%, 2.7%)
CIE-LABlab(64.82, 46.43, -50.32)
CIE-LCHlch(64.82, 68.47, 312.70°)
OKLaboklab(71.58% 0.1073 -0.1407)
OKLCHoklch(71.58% 0.177 307.3)
XYZxyz(46.7825, 33.8158, 92.8513)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C181F8 #B8F881
analogous
#8681F8 #C181F8 #F881F4
triadic
#C181F8 #F8C181 #81F8C1
tetradic
#C181F8 #F88681 #B8F881 #81F4F8
square
#C181F8 #F88681 #B8F881 #81F4F8
split-complementary
#C181F8 #F4F881 #81F886
monochromatic
#880DF1 #A447F5 #C181F8 #DEBBFB #F1E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C181F8#FFFFFF#000000##000000
##C181F81.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)
#619BFC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#B995B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c181f8;
/* rgb */ color: rgb(193, 129, 248);
/* oklch */ color: oklch(71.6% 0.177 307.3);
Tailwind
colors: {
  custom: {
    50: '#d6a7fb',
    500: '#c181f8',
    950: '#000000',
  },
}
SCSS
$custom: #c181f8;
$custom-light: #d6a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c181f8",
  "rgb": {
    "r": 193,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 272.269,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.177,
    "h": 307.3
  },
  "luminance": 0.33815
}

Semantic roles & 50–950 ramp

primary
#C181F8
secondary
#E4F5D6
accent
#E6006A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C181F8

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

Preview Lab → · Contrast checker → · Palette generator →

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