#C182F9#C182F9

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

Color values

HEX#C182F9
RGBrgb(193, 130, 249)
HSLhsl(272, 91%, 74%)
HSVhsv(272, 48%, 98%)
CMYKcmyk(22.5%, 47.8%, 0%, 2.4%)
CIE-LABlab(65.08, 46.12, -50.46)
CIE-LCHlch(65.08, 68.36, 312.43°)
OKLaboklab(71.8% 0.1061 -0.1412)
OKLCHoklch(71.8% 0.177 306.9)
XYZxyz(47.0704, 34.1427, 93.7147)
Luminance0.3414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C182F9 #BAF982
analogous
#8682F9 #C182F9 #F982F5
triadic
#C182F9 #F9C182 #82F9C1
tetradic
#C182F9 #F98682 #BAF982 #82F5F9
square
#C182F9 #F98682 #BAF982 #82F5F9
split-complementary
#C182F9 #F5F982 #82F986
monochromatic
#870DF3 #A448F6 #C182F9 #DEBCFC #F1E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C182F9#FFFFFF#000000##000000
##C182F91.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)
#629CFD
Deuteranopia (green-blind)
#739FF6
Tritanopia (blue-blind)
#B996B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c182f9;
/* rgb */ color: rgb(193, 130, 249);
/* oklch */ color: oklch(71.8% 0.177 306.9);
Tailwind
colors: {
  custom: {
    50: '#d6a8fc',
    500: '#c182f9',
    950: '#000000',
  },
}
SCSS
$custom: #c182f9;
$custom-light: #d6a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c182f9",
  "rgb": {
    "r": 193,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 271.765,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71795,
    "c": 0.1766,
    "h": 306.9
  },
  "luminance": 0.34142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C182F9

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

Preview Lab → · Contrast checker → · Palette generator →

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