#C187DF#C187DF

#C187DF is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.138 H 313.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#C187DF
RGBrgb(193, 135, 223)
HSLhsl(280, 58%, 70%)
HSVhsv(280, 39%, 87%)
CMYKcmyk(13.5%, 39.5%, 0%, 12.5%)
CIE-LABlab(64.96, 37.76, -36.29)
CIE-LCHlch(64.96, 52.37, 316.13°)
OKLaboklab(71.32% 0.0951 -0.1002)
OKLCHoklch(71.32% 0.138 313.5)
XYZxyz(43.9734, 33.9940, 74.0428)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187DF #A5DF87
analogous
#9587DF #C187DF #DF87D1
triadic
#C187DF #DFC187 #87DFC1
tetradic
#C187DF #DF9587 #A5DF87 #87D1DF
square
#C187DF #DF9587 #A5DF87 #87D1DF
split-complementary
#C187DF #D1DF87 #87DF95
monochromatic
#8B32BA #A857D2 #C187DF #DAB7EC #F3E7F9

Accessibility & contrast

On white

2.69
#C187DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#C187DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187DF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187DF#FFFFFF#000000##000000
##C187DF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#859FDC
Tritanopia (blue-blind)
#BF93A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c187df;
/* rgb */ color: rgb(193, 135, 223);
/* oklch */ color: oklch(71.3% 0.138 313.5);
Tailwind
colors: {
  custom: {
    50: '#d5abe9',
    500: '#c187df',
    950: '#000000',
  },
}
SCSS
$custom: #c187df;
$custom-light: #d5abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#c187df",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 279.545,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71315,
    "c": 0.13812,
    "h": 313.5
  },
  "luminance": 0.33993
}

Semantic roles & 50–950 ramp

primary
#C187DF
secondary
#DDEDD5
accent
#C52058
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C187DF

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

Preview Lab → · Contrast checker → · Palette generator →

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