#C271CF#C271CF

#C271CF is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.2% C 0.159 H 321.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#C271CF
RGBrgb(194, 113, 207)
HSLhsl(292, 49%, 63%)
HSVhsv(292, 45%, 81%)
CMYKcmyk(6.3%, 45.4%, 0%, 18.8%)
CIE-LABlab(59.70, 46.59, -35.53)
CIE-LCHlch(59.70, 58.59, 322.66°)
OKLaboklab(67.17% 0.1249 -0.0979)
OKLCHoklch(67.17% 0.159 321.9)
XYZxyz(39.4145, 27.7862, 62.3065)
Luminance0.2778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271CF #7ECF71
analogous
#9371CF #C271CF #CF71AD
triadic
#C271CF #CFC271 #71CFC2
tetradic
#C271CF #CF9371 #7ECF71 #71ADCF
square
#C271CF #CF9371 #7ECF71 #71ADCF
split-complementary
#C271CF #ADCF71 #71CF93
monochromatic
#863294 #AE43C0 #C271CF #D69FDE #E9CCEE

Accessibility & contrast

On white

3.20
#C271CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#C271CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271CF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271CF#FFFFFF#000000##000000
##C271CF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648AD2
Deuteranopia (green-blind)
#7B93CC
Tritanopia (blue-blind)
#C47D96
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c271cf;
/* rgb */ color: rgb(194, 113, 207);
/* oklch */ color: oklch(67.2% 0.159 321.9);
Tailwind
colors: {
  custom: {
    50: '#d69cde',
    500: '#c271cf',
    950: '#000000',
  },
}
SCSS
$custom: #c271cf;
$custom-light: #d69cde;
$custom-dark: #000000;
JSON
{
  "hex": "#c271cf",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 291.702,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67167,
    "c": 0.15864,
    "h": 321.9
  },
  "luminance": 0.27785
}

Semantic roles & 50–950 ramp

primary
#C271CF
secondary
#C2DFBD
accent
#BD293D
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #C271CF

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

Preview Lab → · Contrast checker → · Palette generator →

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