#C182F8#C182F8

#C182F8 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.7% C 0.175 H 307.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C182F8
RGBrgb(193, 130, 248)
HSLhsl(272, 89%, 74%)
HSVhsv(272, 48%, 97%)
CMYKcmyk(22.2%, 47.6%, 0%, 2.7%)
CIE-LABlab(65.03, 45.90, -49.99)
CIE-LCHlch(65.03, 67.86, 312.56°)
OKLaboklab(71.74% 0.106 -0.1398)
OKLCHoklch(71.74% 0.175 307.2)
XYZxyz(46.9148, 34.0805, 92.8954)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C182F8 #B9F882
analogous
#8682F8 #C182F8 #F882F4
triadic
#C182F8 #F8C182 #82F8C1
tetradic
#C182F8 #F88682 #B9F882 #82F4F8
square
#C182F8 #F88682 #B9F882 #82F4F8
split-complementary
#C182F8 #F4F882 #82F886
monochromatic
#880EF2 #A448F5 #C182F8 #DEBCFB #F1E2FD

Accessibility & contrast

On white

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

On black

7.82
#C182F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C182F8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C182F8#FFFFFF#000000##000000
##C182F81.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#749EF5
Tritanopia (blue-blind)
#B996B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c182f8;
/* rgb */ color: rgb(193, 130, 248);
/* oklch */ color: oklch(71.7% 0.175 307.2);
Tailwind
colors: {
  custom: {
    50: '#d6a8fb',
    500: '#c182f8',
    950: '#000000',
  },
}
SCSS
$custom: #c182f8;
$custom-light: #d6a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c182f8",
  "rgb": {
    "r": 193,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 272.034,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71742,
    "c": 0.17543,
    "h": 307.2
  },
  "luminance": 0.3408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C182F8

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

Preview Lab → · Contrast checker → · Palette generator →

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