#C182F2#C182F2

#C182F2 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.4% C 0.168 H 308.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C182F2
RGBrgb(193, 130, 242)
HSLhsl(274, 81%, 73%)
HSVhsv(274, 46%, 95%)
CMYKcmyk(20.2%, 46.3%, 0%, 5.1%)
CIE-LABlab(64.73, 44.56, -47.15)
CIE-LCHlch(64.73, 64.88, 313.39°)
OKLaboklab(71.43% 0.1053 -0.1315)
OKLCHoklch(71.43% 0.168 308.7)
XYZxyz(45.9989, 33.7141, 88.0714)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C182F2 #B3F282
analogous
#8982F2 #C182F2 #F282EB
triadic
#C182F2 #F2C182 #82F2C1
tetradic
#C182F2 #F28982 #B3F282 #82EBF2
square
#C182F2 #F28982 #B3F282 #82EBF2
split-complementary
#C182F2 #EBF282 #82F289
monochromatic
#8918E2 #A64BEC #C182F2 #DCB9F8 #F1E3FC

Accessibility & contrast

On white

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

On black

7.74
#C182F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C182F2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C182F2#FFFFFF#000000##000000
##C182F21.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#BA94AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c182f2;
/* rgb */ color: rgb(193, 130, 242);
/* oklch */ color: oklch(71.4% 0.168 308.7);
Tailwind
colors: {
  custom: {
    50: '#d6a8f7',
    500: '#c182f2',
    950: '#000000',
  },
}
SCSS
$custom: #c182f2;
$custom-light: #d6a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c182f2",
  "rgb": {
    "r": 193,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 273.75,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7143,
    "c": 0.16846,
    "h": 308.7
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

primary
#C182F2
secondary
#E4F4D7
accent
#DE0865
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C182F2

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

Preview Lab → · Contrast checker → · Palette generator →

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