#C270EA#C270EA

#C270EA is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.4% C 0.188 H 313.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#C270EA
RGBrgb(194, 112, 234)
HSLhsl(280, 74%, 68%)
HSVhsv(280, 52%, 92%)
CMYKcmyk(17.1%, 52.1%, 0%, 8.2%)
CIE-LABlab(60.78, 52.56, -48.96)
CIE-LCHlch(60.78, 71.83, 317.03°)
OKLaboklab(68.39% 0.1297 -0.1367)
OKLCHoklch(68.39% 0.188 313.5)
XYZxyz(42.8911, 28.9993, 81.1640)
Luminance0.2900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270EA #98EA70
analogous
#8570EA #C270EA #EA70D5
triadic
#C270EA #EAC270 #70EAC2
tetradic
#C270EA #EA8570 #98EA70 #70D5EA
square
#C270EA #EA8570 #98EA70 #70D5EA
split-complementary
#C270EA #D5EA70 #70EA85
monochromatic
#8C1DC3 #AB3BE2 #C270EA #D9A5F2 #F0DBFA

Accessibility & contrast

On white

3.09
#C270EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#C270EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C270EA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270EA#FFFFFF#000000##000000
##C270EA1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#BE84A3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c270ea;
/* rgb */ color: rgb(194, 112, 234);
/* oklch */ color: oklch(68.4% 0.188 313.5);
Tailwind
colors: {
  custom: {
    50: '#d79cf1',
    500: '#c270ea',
    950: '#000000',
  },
}
SCSS
$custom: #c270ea;
$custom-light: #d79cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c270ea",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 280.328,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.18842,
    "h": 313.5
  },
  "luminance": 0.28998
}

Semantic roles & 50–950 ramp

primary
#C270EA
secondary
#D4EEC8
accent
#D70F50
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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