#C182FC#C182FC

#C182FC is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.0% C 0.180 H 306.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C182FC
RGBrgb(193, 130, 252)
HSLhsl(271, 95%, 75%)
HSVhsv(271, 48%, 99%)
CMYKcmyk(23.4%, 48.4%, 0%, 1.2%)
CIE-LABlab(65.22, 46.80, -51.87)
CIE-LCHlch(65.22, 69.86, 312.06°)
OKLaboklab(71.95% 0.1065 -0.1453)
OKLCHoklch(71.95% 0.18 306.2)
XYZxyz(47.5420, 34.3314, 96.1986)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C182FC #BDFC82
analogous
#8482FC #C182FC #FC82FA
triadic
#C182FC #FCC182 #82FCC1
tetradic
#C182FC #FC8482 #BDFC82 #82FAFC
square
#C182FC #FC8482 #BDFC82 #82FAFC
split-complementary
#C182FC #FAFC82 #82FC84
monochromatic
#860AF9 #A346FB #C182FC #DFBEFD #F0E1FE

Accessibility & contrast

On white

2.67
#C182FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C182FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C182FC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C182FC#FFFFFF#000000##000000
##C182FC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#B897B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c182fc;
/* rgb */ color: rgb(193, 130, 252);
/* oklch */ color: oklch(72.0% 0.180 306.2);
Tailwind
colors: {
  custom: {
    50: '#d6a8fe',
    500: '#c182fc',
    950: '#000000',
  },
}
SCSS
$custom: #c182fc;
$custom-light: #d6a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c182fc",
  "rgb": {
    "r": 193,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 270.984,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71954,
    "c": 0.18009,
    "h": 306.2
  },
  "luminance": 0.34331
}

Semantic roles & 50–950 ramp

primary
#C182FC
secondary
#E5F7D4
accent
#E6006F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C182FC

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

Preview Lab → · Contrast checker → · Palette generator →

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