#C182EC#C182EC

#C182EC is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.1% C 0.162 H 310.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#C182EC
RGBrgb(193, 130, 236)
HSLhsl(276, 74%, 72%)
HSVhsv(276, 45%, 93%)
CMYKcmyk(18.2%, 44.9%, 0%, 7.5%)
CIE-LABlab(64.45, 43.25, -44.29)
CIE-LCHlch(64.45, 61.90, 314.32°)
OKLaboklab(71.13% 0.1044 -0.1232)
OKLCHoklch(71.13% 0.162 310.3)
XYZxyz(45.1125, 33.3596, 83.4031)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C182EC #ADEC82
analogous
#8C82EC #C182EC #EC82E2
triadic
#C182EC #ECC182 #82ECC1
tetradic
#C182EC #EC8C82 #ADEC82 #82E2EC
square
#C182EC #EC8C82 #ADEC82 #82E2EC
split-complementary
#C182EC #E2EC82 #82EC8C
monochromatic
#8B20D3 #A74DE4 #C182EC #DBB7F4 #F2E4FB

Accessibility & contrast

On white

2.74
#C182EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#C182EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C182EC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C182EC#FFFFFF#000000##000000
##C182EC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#7B9DE9
Tritanopia (blue-blind)
#BC93AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c182ec;
/* rgb */ color: rgb(193, 130, 236);
/* oklch */ color: oklch(71.1% 0.162 310.3);
Tailwind
colors: {
  custom: {
    50: '#d5a7f2',
    500: '#c182ec',
    950: '#000000',
  },
}
SCSS
$custom: #c182ec;
$custom-light: #d5a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c182ec",
  "rgb": {
    "r": 193,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 275.66,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71125,
    "c": 0.16151,
    "h": 310.3
  },
  "luminance": 0.33359
}

Semantic roles & 50–950 ramp

primary
#C182EC
secondary
#E2F2D7
accent
#D61060
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C182EC

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

Preview Lab → · Contrast checker → · Palette generator →

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