#C187ED#C187ED

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

Color values

HEX#C187ED
RGBrgb(193, 135, 237)
HSLhsl(274, 74%, 73%)
HSVhsv(274, 43%, 93%)
CMYKcmyk(18.6%, 43%, 0%, 7.1%)
CIE-LABlab(65.58, 40.76, -43.07)
CIE-LCHlch(65.58, 59.30, 313.43°)
OKLaboklab(71.98% 0.0976 -0.1197)
OKLCHoklch(71.98% 0.154 309.2)
XYZxyz(45.9395, 34.7804, 84.3975)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187ED #B3ED87
analogous
#8E87ED #C187ED #ED87E6
triadic
#C187ED #EDC187 #87EDC1
tetradic
#C187ED #ED8E87 #B3ED87 #87E6ED
square
#C187ED #ED8E87 #B3ED87 #87E6ED
split-complementary
#C187ED #E6ED87 #87ED8E
monochromatic
#8921D9 #A652E5 #C187ED #DCBCF5 #F1E4FB

Accessibility & contrast

On white

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

On black

7.96
#C187ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187ED
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187ED#FFFFFF#000000##000000
##C187ED1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c187ed;
/* rgb */ color: rgb(193, 135, 237);
/* oklch */ color: oklch(72.0% 0.154 309.2);
Tailwind
colors: {
  custom: {
    50: '#d5abf3',
    500: '#c187ed',
    950: '#000000',
  },
}
SCSS
$custom: #c187ed;
$custom-light: #d5abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c187ed",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 274.118,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71984,
    "c": 0.15449,
    "h": 309.2
  },
  "luminance": 0.3478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C187ED

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

Preview Lab → · Contrast checker → · Palette generator →

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