#C271F0#C271F0

#C271F0 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.9% C 0.193 H 311.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#C271F0
RGBrgb(194, 113, 240)
HSLhsl(278, 81%, 69%)
HSVhsv(278, 53%, 94%)
CMYKcmyk(19.2%, 52.9%, 0%, 5.9%)
CIE-LABlab(61.28, 53.32, -51.50)
CIE-LCHlch(61.28, 74.13, 316.00°)
OKLaboklab(68.86% 0.1289 -0.1441)
OKLCHoklch(68.86% 0.193 311.8)
XYZxyz(43.8786, 29.5718, 85.8176)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C271F0 #9FF071
analogous
#8371F0 #C271F0 #F071DE
triadic
#C271F0 #F0C271 #71F0C2
tetradic
#C271F0 #F08371 #9FF071 #71DEF0
square
#C271F0 #F08371 #9FF071 #71DEF0
split-complementary
#C271F0 #DEF071 #71F083
monochromatic
#8D16D1 #AA3AEA #C271F0 #DAA8F6 #F2E0FC

Accessibility & contrast

On white

3.04
#C271F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#C271F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C271F0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C271F0#FFFFFF#000000##000000
##C271F01.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F90F4
Deuteranopia (green-blind)
#6996ED
Tritanopia (blue-blind)
#BD86A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c271f0;
/* rgb */ color: rgb(194, 113, 240);
/* oklch */ color: oklch(68.9% 0.193 311.8);
Tailwind
colors: {
  custom: {
    50: '#d79cf5',
    500: '#c271f0',
    950: '#000000',
  },
}
SCSS
$custom: #c271f0;
$custom-light: #d79cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c271f0",
  "rgb": {
    "r": 194,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 278.268,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68861,
    "c": 0.19331,
    "h": 311.8
  },
  "luminance": 0.29571
}

Semantic roles & 50–950 ramp

primary
#C271F0
secondary
#D9F1CC
accent
#DD0855
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C271F0

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

Preview Lab → · Contrast checker → · Palette generator →

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