#C27ABA#C27ABA

#C27ABA is a light, vivid purple. Relative luminance 0.289; OKLCH L 67.7% C 0.122 H 330.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C27ABA
RGBrgb(194, 122, 186)
HSLhsl(307, 37%, 62%)
HSVhsv(307, 37%, 76%)
CMYKcmyk(0%, 37.1%, 4.1%, 23.9%)
CIE-LABlab(60.72, 37.86, -22.04)
CIE-LCHlch(60.72, 43.81, 329.79°)
OKLaboklab(67.66% 0.107 -0.0596)
OKLCHoklch(67.66% 0.122 330.9)
XYZxyz(38.0701, 28.9353, 50.0246)
Luminance0.2893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C27ABA #7AC282
analogous
#A67AC2 #C27ABA #C27A96
triadic
#C27ABA #BAC27A #7ABAC2
tetradic
#C27ABA #C2A67A #7AC282 #7A96C2
square
#C27ABA #C2A67A #7AC282 #7A96C2
split-complementary
#C27ABA #96C27A #7AC2A6
monochromatic
#853D7D #AF50A4 #C27ABA #D5A4D0 #E8CEE6

Accessibility & contrast

On white

3.09
#C27ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C27ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C27ABA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C27ABA#FFFFFF#000000##000000
##C27ABA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#788CBC
Deuteranopia (green-blind)
#8A96B8
Tritanopia (blue-blind)
#C87F92
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c27aba;
/* rgb */ color: rgb(194, 122, 186);
/* oklch */ color: oklch(67.7% 0.122 330.9);
Tailwind
colors: {
  custom: {
    50: '#d5a2cf',
    500: '#c27aba',
    950: '#000000',
  },
}
SCSS
$custom: #c27aba;
$custom-light: #d5a2cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c27aba",
  "rgb": {
    "r": 194,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 306.667,
    "s": 37.113,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.12244,
    "h": 330.9
  },
  "luminance": 0.28934
}

Semantic roles & 50–950 ramp

primary
#C27ABA
secondary
#BFD9C2
accent
#B04335
background
#FDFAFC
surface
#FAF3F9
border
#D3CDD2
text
#140F13
muted
#837F82

Preview Lab

Preview with #C27ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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