#C271C8#C271C8

#C271C8 is a light, vivid purple. Relative luminance 0.275; OKLCH L 66.8% C 0.152 H 324.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C271C8
RGBrgb(194, 113, 200)
HSLhsl(296, 44%, 61%)
HSVhsv(296, 44%, 78%)
CMYKcmyk(3%, 43.5%, 0%, 21.6%)
CIE-LABlab(59.39, 45.24, -32.05)
CIE-LCHlch(59.39, 55.44, 324.69°)
OKLaboklab(66.84% 0.1236 -0.0879)
OKLCHoklch(66.84% 0.152 324.6)
XYZxyz(38.5776, 27.4514, 57.8990)
Luminance0.2745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271C8 #77C871
analogous
#9771C8 #C271C8 #C871A3
triadic
#C271C8 #C8C271 #71C8C2
tetradic
#C271C8 #C89771 #77C871 #71A3C8
square
#C271C8 #C89771 #77C871 #71A3C8
split-complementary
#C271C8 #A3C871 #71C897
monochromatic
#843589 #AE46B6 #C271C8 #D59DD9 #E8C9EA

Accessibility & contrast

On white

3.24
#C271C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C271C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271C8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271C8#FFFFFF#000000##000000
##C271C81.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CB
Deuteranopia (green-blind)
#7E92C5
Tritanopia (blue-blind)
#C57B93
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c271c8;
/* rgb */ color: rgb(194, 113, 200);
/* oklch */ color: oklch(66.8% 0.152 324.6);
Tailwind
colors: {
  custom: {
    50: '#d69cd9',
    500: '#c271c8',
    950: '#000000',
  },
}
SCSS
$custom: #c271c8;
$custom-light: #d69cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#c271c8",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 295.862,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66839,
    "c": 0.15164,
    "h": 324.6
  },
  "luminance": 0.2745
}

Semantic roles & 50–950 ramp

primary
#C271C8
secondary
#BCDBBA
accent
#B72E38
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140E14
muted
#837E83

Preview Lab

Preview with #C271C8

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

Preview Lab → · Contrast checker → · Palette generator →

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