#C271CE#C271CE

#C271CE is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.1% C 0.158 H 322.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#C271CE
RGBrgb(194, 113, 206)
HSLhsl(292, 49%, 63%)
HSVhsv(292, 45%, 81%)
CMYKcmyk(5.8%, 45.1%, 0%, 19.2%)
CIE-LABlab(59.65, 46.39, -35.04)
CIE-LCHlch(59.65, 58.14, 322.94°)
OKLaboklab(67.12% 0.1247 -0.0964)
OKLCHoklch(67.12% 0.158 322.3)
XYZxyz(39.2926, 27.7374, 61.6647)
Luminance0.2774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271CE #7DCE71
analogous
#9371CE #C271CE #CE71AC
triadic
#C271CE #CEC271 #71CEC2
tetradic
#C271CE #CE9371 #7DCE71 #71ACCE
square
#C271CE #CE9371 #7DCE71 #71ACCE
split-complementary
#C271CE #ACCE71 #71CE93
monochromatic
#863292 #AE44BE #C271CE #D69EDE #E9CCED

Accessibility & contrast

On white

3.21
#C271CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#C271CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271CE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271CE#FFFFFF#000000##000000
##C271CE1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#658AD1
Deuteranopia (green-blind)
#7B93CB
Tritanopia (blue-blind)
#C47C96
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c271ce;
/* rgb */ color: rgb(194, 113, 206);
/* oklch */ color: oklch(67.1% 0.158 322.3);
Tailwind
colors: {
  custom: {
    50: '#d69cdd',
    500: '#c271ce',
    950: '#000000',
  },
}
SCSS
$custom: #c271ce;
$custom-light: #d69cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#c271ce",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 292.258,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6712,
    "c": 0.15763,
    "h": 322.3
  },
  "luminance": 0.27736
}

Semantic roles & 50–950 ramp

primary
#C271CE
secondary
#C1DEBC
accent
#BC2A3C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #C271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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