#C180EC#C180EC

#C180EC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.8% C 0.165 H 310.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C180EC
RGBrgb(193, 128, 236)
HSLhsl(276, 74%, 71%)
HSVhsv(276, 46%, 93%)
CMYKcmyk(18.2%, 45.8%, 0%, 7.5%)
CIE-LABlab(64.03, 44.33, -44.96)
CIE-LCHlch(64.03, 63.13, 314.60°)
OKLaboklab(70.81% 0.1072 -0.1252)
OKLCHoklch(70.81% 0.165 310.6)
XYZxyz(44.8491, 32.8327, 83.3153)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C180EC #ABEC80
analogous
#8B80EC #C180EC #EC80E1
triadic
#C180EC #ECC180 #80ECC1
tetradic
#C180EC #EC8B80 #ABEC80 #80E1EC
square
#C180EC #EC8B80 #ABEC80 #80E1EC
split-complementary
#C180EC #E1EC80 #80EC8B
monochromatic
#8B1FD2 #A74BE4 #C180EC #DBB5F4 #F2E4FB

Accessibility & contrast

On white

2.78
#C180EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#C180EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C180EC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C180EC#FFFFFF#000000##000000
##C180EC1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#BC91AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c180ec;
/* rgb */ color: rgb(193, 128, 236);
/* oklch */ color: oklch(70.8% 0.165 310.6);
Tailwind
colors: {
  custom: {
    50: '#d6a6f2',
    500: '#c180ec',
    950: '#000000',
  },
}
SCSS
$custom: #c180ec;
$custom-light: #d6a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c180ec",
  "rgb": {
    "r": 193,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 276.111,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70806,
    "c": 0.16476,
    "h": 310.6
  },
  "luminance": 0.32832
}

Semantic roles & 50–950 ramp

primary
#C180EC
secondary
#E1F2D6
accent
#D60F5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C180EC

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

Preview Lab → · Contrast checker → · Palette generator →

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