#C187EE#C187EE

#C187EE is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.0% C 0.156 H 308.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#C187EE
RGBrgb(193, 135, 238)
HSLhsl(274, 75%, 73%)
HSVhsv(274, 43%, 93%)
CMYKcmyk(18.9%, 43.3%, 0%, 6.7%)
CIE-LABlab(65.62, 40.98, -43.55)
CIE-LCHlch(65.62, 59.80, 313.26°)
OKLaboklab(72.03% 0.0978 -0.1211)
OKLCHoklch(72.03% 0.156 308.9)
XYZxyz(46.0860, 34.8390, 85.1691)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187EE #B4EE87
analogous
#8D87EE #C187EE #EE87E8
triadic
#C187EE #EEC187 #87EEC1
tetradic
#C187EE #EE8D87 #B4EE87 #87E8EE
square
#C187EE #EE8D87 #B4EE87 #87E8EE
split-complementary
#C187EE #E8EE87 #87EE8D
monochromatic
#891FDC #A551E6 #C187EE #DDBDF6 #F1E4FB

Accessibility & contrast

On white

2.64
#C187EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#C187EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187EE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187EE#FFFFFF#000000##000000
##C187EE1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#BB97AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c187ee;
/* rgb */ color: rgb(193, 135, 238);
/* oklch */ color: oklch(72.0% 0.156 308.9);
Tailwind
colors: {
  custom: {
    50: '#d5abf4',
    500: '#c187ee',
    950: '#000000',
  },
}
SCSS
$custom: #c187ee;
$custom-light: #d5abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c187ee",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 273.786,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72033,
    "c": 0.15567,
    "h": 308.9
  },
  "luminance": 0.34838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C187EE

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

Preview Lab → · Contrast checker → · Palette generator →

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