#C271CC#C271CC

#C271CC is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.0% C 0.156 H 323.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#C271CC
RGBrgb(194, 113, 204)
HSLhsl(293, 47%, 62%)
HSVhsv(293, 45%, 80%)
CMYKcmyk(4.9%, 44.6%, 0%, 20%)
CIE-LABlab(59.56, 46.01, -34.05)
CIE-LCHlch(59.56, 57.23, 323.50°)
OKLaboklab(67.03% 0.1243 -0.0936)
OKLCHoklch(67.03% 0.156 323)
XYZxyz(39.0512, 27.6409, 60.3932)
Luminance0.2764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271CC #7BCC71
analogous
#9571CC #C271CC #CC71A8
triadic
#C271CC #CCC271 #71CCC2
tetradic
#C271CC #CC9571 #7BCC71 #71A8CC
square
#C271CC #CC9571 #7BCC71 #71A8CC
split-complementary
#C271CC #A8CC71 #71CC95
monochromatic
#85338F #AF44BC #C271CC #D59EDC #E9CBEC

Accessibility & contrast

On white

3.22
#C271CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#C271CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271CC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271CC#FFFFFF#000000##000000
##C271CC1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#7C93C9
Tritanopia (blue-blind)
#C57C95
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c271cc;
/* rgb */ color: rgb(194, 113, 204);
/* oklch */ color: oklch(67.0% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#d69cdc',
    500: '#c271cc',
    950: '#000000',
  },
}
SCSS
$custom: #c271cc;
$custom-light: #d69cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c271cc",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 293.407,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67025,
    "c": 0.15562,
    "h": 323
  },
  "luminance": 0.27639
}

Semantic roles & 50–950 ramp

primary
#C271CC
secondary
#BFDDBC
accent
#BA2B3B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #C271CC

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

Preview Lab → · Contrast checker → · Palette generator →

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