#C187FB#C187FB

#C187FB is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.171 H 305.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#C187FB
RGBrgb(193, 135, 251)
HSLhsl(270, 94%, 76%)
HSVhsv(270, 46%, 98%)
CMYKcmyk(23.1%, 46.2%, 0%, 1.6%)
CIE-LABlab(66.24, 43.88, -49.72)
CIE-LCHlch(66.24, 66.32, 311.43°)
OKLaboklab(72.69% 0.0997 -0.139)
OKLCHoklch(72.69% 0.171 305.6)
XYZxyz(48.0653, 35.6308, 95.5934)
Luminance0.3563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187FB #C1FB87
analogous
#8787FB #C187FB #FB87FB
triadic
#C187FB #FBC187 #87FBC1
tetradic
#C187FB #FB8787 #C1FB87 #87FBFB
square
#C187FB #FB8787 #C1FB87 #87FBFB
split-complementary
#C187FB #FBFB87 #87FB87
monochromatic
#8411F7 #A24CF9 #C187FB #E0C2FD #F0E1FE

Accessibility & contrast

On white

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

On black

8.13
#C187FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187FB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187FB#FFFFFF#000000##000000
##C187FB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#B89BB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c187fb;
/* rgb */ color: rgb(193, 135, 251);
/* oklch */ color: oklch(72.7% 0.171 305.6);
Tailwind
colors: {
  custom: {
    50: '#d6abfd',
    500: '#c187fb',
    950: '#000000',
  },
}
SCSS
$custom: #c187fb;
$custom-light: #d6abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c187fb",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72693,
    "c": 0.17106,
    "h": 305.6
  },
  "luminance": 0.3563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C187FB

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

Preview Lab → · Contrast checker → · Palette generator →

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