#C187FF#C187FF

#C187FF is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.9% C 0.176 H 304.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#C187FF
RGBrgb(193, 135, 255)
HSLhsl(269, 100%, 76%)
HSVhsv(269, 47%, 100%)
CMYKcmyk(24.3%, 47.1%, 0%, 0%)
CIE-LABlab(66.43, 44.79, -51.60)
CIE-LCHlch(66.43, 68.33, 310.96°)
OKLaboklab(72.9% 0.1002 -0.1445)
OKLCHoklch(72.9% 0.176 304.7)
XYZxyz(48.7025, 35.8856, 98.9492)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187FF #C5FF87
analogous
#8789FF #C187FF #FD87FF
triadic
#C187FF #FFC187 #87FFC1
tetradic
#C187FF #FF8789 #C5FF87 #87FFFD
square
#C187FF #FF8789 #C5FF87 #87FFFD
split-complementary
#C187FF #FFFD87 #89FF87
monochromatic
#820DFF #A14AFF #C187FF #E1C4FF #EFE0FF

Accessibility & contrast

On white

2.57
#C187FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#C187FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187FF
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187FF#FFFFFF#000000##000000
##C187FF1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#B79CB7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c187ff;
/* rgb */ color: rgb(193, 135, 255);
/* oklch */ color: oklch(72.9% 0.176 304.7);
Tailwind
colors: {
  custom: {
    50: '#d6abff',
    500: '#c187ff',
    950: '#000000',
  },
}
SCSS
$custom: #c187ff;
$custom-light: #d6abff;
$custom-dark: #000000;
JSON
{
  "hex": "#c187ff",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 269,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72903,
    "c": 0.17582,
    "h": 304.7
  },
  "luminance": 0.35885
}

Semantic roles & 50–950 ramp

primary
#C187FF
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C187FF

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

Preview Lab → · Contrast checker → · Palette generator →

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