#C271CA#C271CA

#C271CA is a light, vivid purple. Relative luminance 0.275; OKLCH L 66.9% C 0.154 H 323.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#C271CA
RGBrgb(194, 113, 202)
HSLhsl(295, 46%, 62%)
HSVhsv(295, 44%, 79%)
CMYKcmyk(4%, 44.1%, 0%, 20.8%)
CIE-LABlab(59.48, 45.62, -33.05)
CIE-LCHlch(59.48, 56.34, 324.08°)
OKLaboklab(66.93% 0.124 -0.0907)
OKLCHoklch(66.93% 0.154 323.8)
XYZxyz(38.8129, 27.5455, 59.1380)
Luminance0.2754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271CA #79CA71
analogous
#9671CA #C271CA #CA71A6
triadic
#C271CA #CAC271 #71CAC2
tetradic
#C271CA #CA9671 #79CA71 #71A6CA
square
#C271CA #CA9671 #79CA71 #71A6CA
split-complementary
#C271CA #A6CA71 #71CA96
monochromatic
#84348C #AE45B9 #C271CA #D59EDB #E8CAEB

Accessibility & contrast

On white

3.23
#C271CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#C271CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271CA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271CA#FFFFFF#000000##000000
##C271CA1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#7D93C7
Tritanopia (blue-blind)
#C57B94
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c271ca;
/* rgb */ color: rgb(194, 113, 202);
/* oklch */ color: oklch(66.9% 0.154 323.8);
Tailwind
colors: {
  custom: {
    50: '#d69cda',
    500: '#c271ca',
    950: '#000000',
  },
}
SCSS
$custom: #c271ca;
$custom-light: #d69cda;
$custom-dark: #000000;
JSON
{
  "hex": "#c271ca",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 294.607,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66932,
    "c": 0.15362,
    "h": 323.8
  },
  "luminance": 0.27544
}

Semantic roles & 50–950 ramp

primary
#C271CA
secondary
#BEDCBB
accent
#B92D39
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E15
muted
#837E83

Preview Lab

Preview with #C271CA

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

Preview Lab → · Contrast checker → · Palette generator →

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