#C271BB#C271BB

#C271BB is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.3% C 0.139 H 330.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#C271BB
RGBrgb(194, 113, 187)
HSLhsl(305, 40%, 60%)
HSVhsv(305, 42%, 76%)
CMYKcmyk(0%, 41.8%, 3.6%, 23.9%)
CIE-LABlab(58.85, 42.84, -25.48)
CIE-LCHlch(58.85, 49.85, 329.25°)
OKLaboklab(66.26% 0.1208 -0.0692)
OKLCHoklch(66.26% 0.139 330.2)
XYZxyz(37.1224, 26.8693, 50.2350)
Luminance0.2687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271BB #71C278
analogous
#A071C2 #C271BB #C27193
triadic
#C271BB #BBC271 #71BBC2
tetradic
#C271BB #C2A071 #71C278 #7193C2
square
#C271BB #C2A071 #71C278 #7193C2
split-complementary
#C271BB #93C271 #71C2A0
monochromatic
#81377B #AC4AA3 #C271BB #D49CD0 #E7C7E4

Accessibility & contrast

On white

3.29
#C271BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#C271BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271BB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271BB#FFFFFF#000000##000000
##C271BB1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BE
Deuteranopia (green-blind)
#8392B8
Tritanopia (blue-blind)
#C8778D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c271bb;
/* rgb */ color: rgb(194, 113, 187);
/* oklch */ color: oklch(66.3% 0.139 330.2);
Tailwind
colors: {
  custom: {
    50: '#d69ccf',
    500: '#c271bb',
    950: '#000000',
  },
}
SCSS
$custom: #c271bb;
$custom-light: #d69ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c271bb",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 305.185,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66262,
    "c": 0.13924,
    "h": 330.2
  },
  "luminance": 0.26867
}

Semantic roles & 50–950 ramp

primary
#C271BB
secondary
#B8D7BB
accent
#B33E33
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C271BB

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

Preview Lab → · Contrast checker → · Palette generator →

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