#C271CB#C271CB

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

Color values

HEX#C271CB
RGBrgb(194, 113, 203)
HSLhsl(294, 46%, 62%)
HSVhsv(294, 44%, 80%)
CMYKcmyk(4.4%, 44.3%, 0%, 20.4%)
CIE-LABlab(59.52, 45.81, -33.55)
CIE-LCHlch(59.52, 56.78, 323.79°)
OKLaboklab(66.98% 0.1241 -0.0922)
OKLCHoklch(66.98% 0.155 323.4)
XYZxyz(38.9317, 27.5930, 59.7636)
Luminance0.2759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271CB #7ACB71
analogous
#9571CB #C271CB #CB71A7
triadic
#C271CB #CBC271 #71CBC2
tetradic
#C271CB #CB9571 #7ACB71 #71A7CB
square
#C271CB #CB9571 #7ACB71 #71A7CB
split-complementary
#C271CB #A7CB71 #71CB95
monochromatic
#85348E #AF44BB #C271CB #D59EDB #E8CBEC

Accessibility & contrast

On white

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

On black

6.52
#C271CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271CB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271CB#FFFFFF#000000##000000
##C271CB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CE
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#C57B94
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c271cb;
/* rgb */ color: rgb(194, 113, 203);
/* oklch */ color: oklch(67.0% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#d69cdb',
    500: '#c271cb',
    950: '#000000',
  },
}
SCSS
$custom: #c271cb;
$custom-light: #d69cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c271cb",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 294,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.15462,
    "h": 323.4
  },
  "luminance": 0.27591
}

Semantic roles & 50–950 ramp

primary
#C271CB
secondary
#BFDCBB
accent
#BA2C3A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #C271CB

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

Preview Lab → · Contrast checker → · Palette generator →

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