#C187FA#C187FA

#C187FA is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.6% C 0.170 H 305.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C187FA
RGBrgb(193, 135, 250)
HSLhsl(270, 92%, 75%)
HSVhsv(270, 46%, 98%)
CMYKcmyk(22.8%, 46%, 0%, 2%)
CIE-LABlab(66.19, 43.66, -49.25)
CIE-LCHlch(66.19, 65.81, 311.56°)
OKLaboklab(72.64% 0.0996 -0.1376)
OKLCHoklch(72.64% 0.17 305.9)
XYZxyz(47.9081, 35.5679, 94.7654)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C187FA #C0FA87
analogous
#8787FA #C187FA #FA87F9
triadic
#C187FA #FAC187 #87FAC1
tetradic
#C187FA #FA8787 #C0FA87 #87F9FA
square
#C187FA #FA8787 #C0FA87 #87F9FA
split-complementary
#C187FA #F9FA87 #87FA87
monochromatic
#8411F5 #A34CF8 #C187FA #DFC2FC #F0E2FE

Accessibility & contrast

On white

2.59
#C187FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C187FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C187FA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C187FA#FFFFFF#000000##000000
##C187FA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#B89AB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c187fa;
/* rgb */ color: rgb(193, 135, 250);
/* oklch */ color: oklch(72.6% 0.170 305.9);
Tailwind
colors: {
  custom: {
    50: '#d6abfc',
    500: '#c187fa',
    950: '#000000',
  },
}
SCSS
$custom: #c187fa;
$custom-light: #d6abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c187fa",
  "rgb": {
    "r": 193,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 270.261,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72641,
    "c": 0.16988,
    "h": 305.9
  },
  "luminance": 0.35568
}

Semantic roles & 50–950 ramp

primary
#C187FA
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C187FA

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

Preview Lab → · Contrast checker → · Palette generator →

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