#C182F6#C182F6

#C182F6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.6% C 0.173 H 307.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C182F6
RGBrgb(193, 130, 246)
HSLhsl(273, 87%, 74%)
HSVhsv(273, 47%, 96%)
CMYKcmyk(21.5%, 47.2%, 0%, 3.5%)
CIE-LABlab(64.93, 45.45, -49.04)
CIE-LCHlch(64.93, 66.87, 312.82°)
OKLaboklab(71.64% 0.1058 -0.137)
OKLCHoklch(71.64% 0.173 307.7)
XYZxyz(46.6062, 33.9571, 91.2700)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C182F6 #B7F682
analogous
#8782F6 #C182F6 #F682F1
triadic
#C182F6 #F6C182 #82F6C1
tetradic
#C182F6 #F68782 #B7F682 #82F1F6
square
#C182F6 #F68782 #B7F682 #82F1F6
split-complementary
#C182F6 #F1F682 #82F687
monochromatic
#8811ED #A549F2 #C182F6 #DDBBFA #F1E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C182F6#FFFFFF#000000##000000
##C182F61.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)
#649BFA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#B995B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c182f6;
/* rgb */ color: rgb(193, 130, 246);
/* oklch */ color: oklch(71.6% 0.173 307.7);
Tailwind
colors: {
  custom: {
    50: '#d6a8f9',
    500: '#c182f6',
    950: '#000000',
  },
}
SCSS
$custom: #c182f6;
$custom-light: #d6a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c182f6",
  "rgb": {
    "r": 193,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 272.586,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71637,
    "c": 0.1731,
    "h": 307.7
  },
  "luminance": 0.33957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C182F6

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

Preview Lab → · Contrast checker → · Palette generator →

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