#C270DA#C270DA

#C270DA is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.6% C 0.172 H 318.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#C270DA
RGBrgb(194, 112, 218)
HSLhsl(286, 59%, 65%)
HSVhsv(286, 49%, 85%)
CMYKcmyk(11%, 48.6%, 0%, 14.5%)
CIE-LABlab(60.00, 49.28, -41.25)
CIE-LCHlch(60.00, 64.27, 320.06°)
OKLaboklab(67.56% 0.1279 -0.1143)
OKLCHoklch(67.56% 0.172 318.2)
XYZxyz(40.6955, 28.1210, 69.6003)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270DA #88DA70
analogous
#8D70DA #C270DA #DA70BD
triadic
#C270DA #DAC270 #70DAC2
tetradic
#C270DA #DA8D70 #88DA70 #70BDDA
square
#C270DA #DA8D70 #88DA70 #70BDDA
split-complementary
#C270DA #BDDA70 #70DA8D
monochromatic
#892BA5 #AD3FCD #C270DA #D7A1E7 #EBD1F3

Accessibility & contrast

On white

3.17
#C270DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#C270DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C270DA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270DA#FFFFFF#000000##000000
##C270DA1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDE
Deuteranopia (green-blind)
#7593D7
Tritanopia (blue-blind)
#C27F9B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #c270da;
/* rgb */ color: rgb(194, 112, 218);
/* oklch */ color: oklch(67.6% 0.172 318.2);
Tailwind
colors: {
  custom: {
    50: '#d69ce6',
    500: '#c270da',
    950: '#000000',
  },
}
SCSS
$custom: #c270da;
$custom-light: #d69ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#c270da",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 286.415,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67557,
    "c": 0.17158,
    "h": 318.2
  },
  "luminance": 0.2812
}

Semantic roles & 50–950 ramp

primary
#C270DA
secondary
#C9E5C1
accent
#C71F45
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C270DA

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

Preview Lab → · Contrast checker → · Palette generator →

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