#C271FF#C271FF

#C271FF is a light, highly saturated violet. Relative luminance 0.305; OKLCH L 69.7% C 0.209 H 308.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#C271FF
RGBrgb(194, 113, 255)
HSLhsl(274, 100%, 72%)
HSVhsv(274, 56%, 100%)
CMYKcmyk(23.9%, 55.7%, 0%, 0%)
CIE-LABlab(62.08, 56.56, -58.50)
CIE-LCHlch(62.08, 81.38, 314.04°)
OKLaboklab(69.71% 0.1296 -0.1645)
OKLCHoklch(69.71% 0.209 308.2)
XYZxyz(46.1997, 30.5002, 98.0417)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271FF #AEFF71
analogous
#7B71FF #C271FF #FF71F5
triadic
#C271FF #FFC271 #71FFC2
tetradic
#C271FF #FF7B71 #AEFF71 #71F5FF
square
#C271FF #FF7B71 #AEFF71 #71F5FF
split-complementary
#C271FF #F5FF71 #71FF7B
monochromatic
#8C00F6 #A834FF #C271FF #DCAEFF #F2E0FF

Accessibility & contrast

On white

2.96
#C271FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#C271FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C271FF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271FF#FFFFFF#000000##000000
##C271FF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4093FF
Deuteranopia (green-blind)
#5E97FC
Tritanopia (blue-blind)
#B98BAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c271ff;
/* rgb */ color: rgb(194, 113, 255);
/* oklch */ color: oklch(69.7% 0.209 308.2);
Tailwind
colors: {
  custom: {
    50: '#d89dff',
    500: '#c271ff',
    950: '#000000',
  },
}
SCSS
$custom: #c271ff;
$custom-light: #d89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c271ff",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 274.225,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.20948,
    "h": 308.2
  },
  "luminance": 0.305
}

Semantic roles & 50–950 ramp

primary
#C271FF
secondary
#E3F7D4
accent
#E60063
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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