#C271BF#C271BF

#C271BF is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.4% C 0.143 H 328.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#C271BF
RGBrgb(194, 113, 191)
HSLhsl(302, 40%, 60%)
HSVhsv(302, 42%, 76%)
CMYKcmyk(0%, 41.8%, 1.5%, 23.9%)
CIE-LABlab(59.01, 43.57, -27.52)
CIE-LCHlch(59.01, 51.53, 327.72°)
OKLaboklab(66.44% 0.1217 -0.075)
OKLCHoklch(66.44% 0.143 328.4)
XYZxyz(37.5566, 27.0430, 52.5217)
Luminance0.2704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271BF #71C274
analogous
#9C71C2 #C271BF #C27197
triadic
#C271BF #BFC271 #71BFC2
tetradic
#C271BF #C29C71 #71C274 #7197C2
square
#C271BF #C29C71 #71C274 #7197C2
split-complementary
#C271BF #97C271 #71C29C
monochromatic
#81377E #AC4AA8 #C271BF #D49CD2 #E7C7E6

Accessibility & contrast

On white

3.28
#C271BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#C271BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271BF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271BF#FFFFFF#000000##000000
##C271BF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C2
Deuteranopia (green-blind)
#8292BC
Tritanopia (blue-blind)
#C7788F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c271bf;
/* rgb */ color: rgb(194, 113, 191);
/* oklch */ color: oklch(66.4% 0.143 328.4);
Tailwind
colors: {
  custom: {
    50: '#d69cd2',
    500: '#c271bf',
    950: '#000000',
  },
}
SCSS
$custom: #c271bf;
$custom-light: #d69cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c271bf",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 302.222,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.14296,
    "h": 328.4
  },
  "luminance": 0.27041
}

Semantic roles & 50–950 ramp

primary
#C271BF
secondary
#B8D7B9
accent
#B33733
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C271BF

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

Preview Lab → · Contrast checker → · Palette generator →

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