#C187EF#C187EF

#C187EF is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.1% C 0.157 H 308.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#C187EF
RGBrgb(193, 135, 239)
HSLhsl(273, 76%, 73%)
HSVhsv(273, 44%, 94%)
CMYKcmyk(19.2%, 43.5%, 0%, 6.3%)
CIE-LABlab(65.67, 41.20, -44.03)
CIE-LCHlch(65.67, 60.30, 313.10°)
OKLaboklab(72.08% 0.098 -0.1225)
OKLCHoklch(72.08% 0.157 308.6)
XYZxyz(46.2333, 34.8980, 85.9450)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187EF #B5EF87
analogous
#8D87EF #C187EF #EF87E9
triadic
#C187EF #EFC187 #87EFC1
tetradic
#C187EF #EF8D87 #B5EF87 #87E9EF
square
#C187EF #EF8D87 #B5EF87 #87E9EF
split-complementary
#C187EF #E9EF87 #87EF8D
monochromatic
#891EDE #A551E8 #C187EF #DDBDF6 #F1E4FB

Accessibility & contrast

On white

2.63
#C187EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#C187EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187EF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187EF#FFFFFF#000000##000000
##C187EF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#BB97B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c187ef;
/* rgb */ color: rgb(193, 135, 239);
/* oklch */ color: oklch(72.1% 0.157 308.6);
Tailwind
colors: {
  custom: {
    50: '#d5abf4',
    500: '#c187ef',
    950: '#000000',
  },
}
SCSS
$custom: #c187ef;
$custom-light: #d5abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c187ef",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 273.462,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72083,
    "c": 0.15685,
    "h": 308.6
  },
  "luminance": 0.34897
}

Semantic roles & 50–950 ramp

primary
#C187EF
secondary
#E4F3D8
accent
#D90D67
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C187EF

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

Preview Lab → · Contrast checker → · Palette generator →

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