#C187FE#C187FE

#C187FE is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.9% C 0.175 H 305.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#C187FE
RGBrgb(193, 135, 254)
HSLhsl(269, 98%, 76%)
HSVhsv(269, 47%, 100%)
CMYKcmyk(24%, 46.9%, 0%, 0.4%)
CIE-LABlab(66.38, 44.56, -51.13)
CIE-LCHlch(66.38, 67.83, 311.08°)
OKLaboklab(72.85% 0.1001 -0.1431)
OKLCHoklch(72.85% 0.175 305)
XYZxyz(48.5419, 35.8214, 98.1037)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187FE #C4FE87
analogous
#8789FE #C187FE #FD87FE
triadic
#C187FE #FEC187 #87FEC1
tetradic
#C187FE #FE8789 #C4FE87 #87FEFD
square
#C187FE #FE8789 #C4FE87 #87FEFD
split-complementary
#C187FE #FEFD87 #89FE87
monochromatic
#820EFD #A24AFD #C187FE #E0C4FF #EFE1FF

Accessibility & contrast

On white

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

On black

8.16
#C187FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187FE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187FE#FFFFFF#000000##000000
##C187FE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#B79BB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c187fe;
/* rgb */ color: rgb(193, 135, 254);
/* oklch */ color: oklch(72.9% 0.175 305.0);
Tailwind
colors: {
  custom: {
    50: '#d6abff',
    500: '#c187fe',
    950: '#000000',
  },
}
SCSS
$custom: #c187fe;
$custom-light: #d6abff;
$custom-dark: #000000;
JSON
{
  "hex": "#c187fe",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 269.244,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7285,
    "c": 0.17463,
    "h": 305
  },
  "luminance": 0.35821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C187FE

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

Preview Lab → · Contrast checker → · Palette generator →

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