#C187EB#C187EB

#C187EB is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.9% C 0.152 H 309.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#C187EB
RGBrgb(193, 135, 235)
HSLhsl(275, 71%, 73%)
HSVhsv(275, 43%, 92%)
CMYKcmyk(17.9%, 42.6%, 0%, 7.8%)
CIE-LABlab(65.49, 40.33, -42.11)
CIE-LCHlch(65.49, 58.30, 313.76°)
OKLaboklab(71.89% 0.0973 -0.1169)
OKLCHoklch(71.89% 0.152 309.8)
XYZxyz(45.6489, 34.6642, 82.8672)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187EB #B1EB87
analogous
#8F87EB #C187EB #EB87E3
triadic
#C187EB #EBC187 #87EBC1
tetradic
#C187EB #EB8F87 #B1EB87 #87E3EB
square
#C187EB #EB8F87 #B1EB87 #87E3EB
split-complementary
#C187EB #E3EB87 #87EB8F
monochromatic
#8A23D4 #A653E2 #C187EB #DCBBF4 #F1E5FB

Accessibility & contrast

On white

2.65
#C187EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#C187EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187EB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187EB#FFFFFF#000000##000000
##C187EB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#BC96AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c187eb;
/* rgb */ color: rgb(193, 135, 235);
/* oklch */ color: oklch(71.9% 0.152 309.8);
Tailwind
colors: {
  custom: {
    50: '#d5abf2',
    500: '#c187eb',
    950: '#000000',
  },
}
SCSS
$custom: #c187eb;
$custom-light: #d5abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c187eb",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 274.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71886,
    "c": 0.15213,
    "h": 309.8
  },
  "luminance": 0.34664
}

Semantic roles & 50–950 ramp

primary
#C187EB
secondary
#E3F2D9
accent
#D31263
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C187EB

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

Preview Lab → · Contrast checker → · Palette generator →

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