#C180EF#C180EF

#C180EF is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.0% C 0.168 H 309.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C180EF
RGBrgb(193, 128, 239)
HSLhsl(275, 78%, 72%)
HSVhsv(275, 46%, 94%)
CMYKcmyk(19.2%, 46.4%, 0%, 6.3%)
CIE-LABlab(64.17, 44.98, -46.39)
CIE-LCHlch(64.17, 64.61, 314.12°)
OKLaboklab(70.96% 0.1076 -0.1293)
OKLCHoklch(70.96% 0.168 309.8)
XYZxyz(45.2886, 33.0085, 85.6301)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C180EF #AEEF80
analogous
#8A80EF #C180EF #EF80E6
triadic
#C180EF #EFC180 #80EFC1
tetradic
#C180EF #EF8A80 #AEEF80 #80E6EF
square
#C180EF #EF8A80 #AEEF80 #80E6EF
split-complementary
#C180EF #E6EF80 #80EF8A
monochromatic
#8B1BD9 #A64AE8 #C180EF #DCB6F6 #F2E4FC

Accessibility & contrast

On white

2.76
#C180EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#C180EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C180EF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C180EF#FFFFFF#000000##000000
##C180EF1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#BB92AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c180ef;
/* rgb */ color: rgb(193, 128, 239);
/* oklch */ color: oklch(71.0% 0.168 309.8);
Tailwind
colors: {
  custom: {
    50: '#d6a6f4',
    500: '#c180ef',
    950: '#000000',
  },
}
SCSS
$custom: #c180ef;
$custom-light: #d6a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c180ef",
  "rgb": {
    "r": 193,
    "g": 128,
    "b": 239
  },
  "hsl": {
    "h": 275.135,
    "s": 77.622,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70959,
    "c": 0.16821,
    "h": 309.8
  },
  "luminance": 0.33008
}

Semantic roles & 50–950 ramp

primary
#C180EF
secondary
#E3F3D7
accent
#DA0C61
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C180EF

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

Preview Lab → · Contrast checker → · Palette generator →

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