#C187FC#C187FC

#C187FC is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.7% C 0.172 H 305.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#C187FC
RGBrgb(193, 135, 252)
HSLhsl(270, 95%, 76%)
HSVhsv(270, 46%, 99%)
CMYKcmyk(23.4%, 46.4%, 0%, 1.2%)
CIE-LABlab(66.29, 44.11, -50.19)
CIE-LCHlch(66.29, 66.82, 311.31°)
OKLaboklab(72.75% 0.0998 -0.1404)
OKLCHoklch(72.75% 0.172 305.4)
XYZxyz(48.2233, 35.6940, 96.4257)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187FC #C2FC87
analogous
#8787FC #C187FC #FC87FC
triadic
#C187FC #FCC187 #87FCC1
tetradic
#C187FC #FC8787 #C2FC87 #87FCFC
square
#C187FC #FC8787 #C2FC87 #87FCFC
split-complementary
#C187FC #FCFC87 #87FC87
monochromatic
#8310F9 #A24BFB #C187FC #E0C3FD #F0E1FE

Accessibility & contrast

On white

2.58
#C187FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#C187FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187FC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187FC#FFFFFF#000000##000000
##C187FC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#76A1F9
Tritanopia (blue-blind)
#B89BB6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c187fc;
/* rgb */ color: rgb(193, 135, 252);
/* oklch */ color: oklch(72.7% 0.172 305.4);
Tailwind
colors: {
  custom: {
    50: '#d6abfe',
    500: '#c187fc',
    950: '#000000',
  },
}
SCSS
$custom: #c187fc;
$custom-light: #d6abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c187fc",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 269.744,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72745,
    "c": 0.17225,
    "h": 305.4
  },
  "luminance": 0.35694
}

Semantic roles & 50–950 ramp

primary
#C187FC
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C187FC

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

Preview Lab → · Contrast checker → · Palette generator →

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