#C182F7#C182F7

#C182F7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.7% C 0.174 H 307.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#C182F7
RGBrgb(193, 130, 247)
HSLhsl(272, 88%, 74%)
HSVhsv(272, 47%, 97%)
CMYKcmyk(21.9%, 47.4%, 0%, 3.1%)
CIE-LABlab(64.98, 45.67, -49.52)
CIE-LCHlch(64.98, 67.36, 312.69°)
OKLaboklab(71.69% 0.1059 -0.1384)
OKLCHoklch(71.69% 0.174 307.4)
XYZxyz(46.7601, 34.0186, 92.0805)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C182F7 #B8F782
analogous
#8782F7 #C182F7 #F782F2
triadic
#C182F7 #F7C182 #82F7C1
tetradic
#C182F7 #F78782 #B8F782 #82F2F7
square
#C182F7 #F78782 #B8F782 #82F2F7
split-complementary
#C182F7 #F2F782 #82F787
monochromatic
#880FEF #A448F3 #C182F7 #DEBCFB #F1E2FD

Accessibility & contrast

On white

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

On black

7.80
#C182F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C182F7
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C182F7#FFFFFF#000000##000000
##C182F71.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c182f7;
/* rgb */ color: rgb(193, 130, 247);
/* oklch */ color: oklch(71.7% 0.174 307.4);
Tailwind
colors: {
  custom: {
    50: '#d6a8fa',
    500: '#c182f7',
    950: '#000000',
  },
}
SCSS
$custom: #c182f7;
$custom-light: #d6a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c182f7",
  "rgb": {
    "r": 193,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 272.308,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71689,
    "c": 0.17426,
    "h": 307.4
  },
  "luminance": 0.34018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C182F7

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

Preview Lab → · Contrast checker → · Palette generator →

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