#C270FA#C270FA

#C270FA is a light, highly saturated violet. Relative luminance 0.300; OKLCH L 69.3% C 0.206 H 309.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C270FA
RGBrgb(194, 112, 250)
HSLhsl(276, 93%, 71%)
HSVhsv(276, 55%, 98%)
CMYKcmyk(22.4%, 55.2%, 0%, 2%)
CIE-LABlab(61.62, 55.98, -56.49)
CIE-LCHlch(61.62, 79.53, 314.74°)
OKLaboklab(69.28% 0.1307 -0.1587)
OKLCHoklch(69.28% 0.206 309.5)
XYZxyz(45.2943, 29.9606, 93.8208)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270FA #A8FA70
analogous
#7D70FA #C270FA #FA70ED
triadic
#C270FA #FAC270 #70FAC2
tetradic
#C270FA #FA7D70 #A8FA70 #70EDFA
square
#C270FA #FA7D70 #A8FA70 #70EDFA
split-complementary
#C270FA #EDFA70 #70FA7D
monochromatic
#8D08E8 #A935F8 #C270FA #DBABFC #F2E1FE

Accessibility & contrast

On white

3.00
#C270FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C270FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C270FA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270FA#FFFFFF#000000##000000
##C270FA1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FF
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#BB89AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c270fa;
/* rgb */ color: rgb(194, 112, 250);
/* oklch */ color: oklch(69.3% 0.206 309.5);
Tailwind
colors: {
  custom: {
    50: '#d79cfc',
    500: '#c270fa',
    950: '#000000',
  },
}
SCSS
$custom: #c270fa;
$custom-light: #d79cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c270fa",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 275.652,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6928,
    "c": 0.20555,
    "h": 309.5
  },
  "luminance": 0.2996
}

Semantic roles & 50–950 ramp

primary
#C270FA
secondary
#DFF5D1
accent
#E6005D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C270FA

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

Preview Lab → · Contrast checker → · Palette generator →

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