#C270EC#C270EC

#C270EC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.5% C 0.191 H 313.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#C270EC
RGBrgb(194, 112, 236)
HSLhsl(280, 77%, 68%)
HSVhsv(280, 53%, 93%)
CMYKcmyk(17.8%, 52.5%, 0%, 7.5%)
CIE-LABlab(60.88, 52.98, -49.91)
CIE-LCHlch(60.88, 72.79, 316.71°)
OKLaboklab(68.5% 0.1299 -0.1395)
OKLCHoklch(68.5% 0.191 313)
XYZxyz(43.1800, 29.1149, 82.6857)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270EC #9AEC70
analogous
#8470EC #C270EC #EC70D8
triadic
#C270EC #ECC270 #70ECC2
tetradic
#C270EC #EC8470 #9AEC70 #70D8EC
square
#C270EC #EC8470 #9AEC70 #70D8EC
split-complementary
#C270EC #D8EC70 #70EC84
monochromatic
#8D1AC7 #AB3AE5 #C270EC #D9A6F3 #F0DCFA

Accessibility & contrast

On white

3.08
#C270EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#C270EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C270EC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270EC#FFFFFF#000000##000000
##C270EC1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#BE84A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c270ec;
/* rgb */ color: rgb(194, 112, 236);
/* oklch */ color: oklch(68.5% 0.191 313.0);
Tailwind
colors: {
  custom: {
    50: '#d79cf3',
    500: '#c270ec',
    950: '#000000',
  },
}
SCSS
$custom: #c270ec;
$custom-light: #d79cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c270ec",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 279.677,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.68499,
    "c": 0.19056,
    "h": 313
  },
  "luminance": 0.29114
}

Semantic roles & 50–950 ramp

primary
#C270EC
secondary
#D6EFC9
accent
#D90D52
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C270EC

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

Preview Lab → · Contrast checker → · Palette generator →

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