#C270ED#C270ED

#C270ED is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.6% C 0.192 H 312.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#C270ED
RGBrgb(194, 112, 237)
HSLhsl(279, 78%, 68%)
HSVhsv(279, 53%, 93%)
CMYKcmyk(18.1%, 52.7%, 0%, 7.1%)
CIE-LABlab(60.93, 53.19, -50.39)
CIE-LCHlch(60.93, 73.27, 316.55°)
OKLaboklab(68.55% 0.1299 -0.1408)
OKLCHoklch(68.55% 0.192 312.7)
XYZxyz(43.3257, 29.1731, 83.4530)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270ED #9BED70
analogous
#8370ED #C270ED #ED70D9
triadic
#C270ED #EDC270 #70EDC2
tetradic
#C270ED #ED8370 #9BED70 #70D9ED
square
#C270ED #ED8370 #9BED70 #70D9ED
split-complementary
#C270ED #D9ED70 #70ED83
monochromatic
#8D19C9 #AB3AE6 #C270ED #D9A6F4 #F0DDFB

Accessibility & contrast

On white

3.07
#C270ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#C270ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C270ED
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270ED#FFFFFF#000000##000000
##C270ED1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#BE85A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c270ed;
/* rgb */ color: rgb(194, 112, 237);
/* oklch */ color: oklch(68.6% 0.192 312.7);
Tailwind
colors: {
  custom: {
    50: '#d79cf3',
    500: '#c270ed',
    950: '#000000',
  },
}
SCSS
$custom: #c270ed;
$custom-light: #d79cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c270ed",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 279.36,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68554,
    "c": 0.19163,
    "h": 312.7
  },
  "luminance": 0.29172
}

Semantic roles & 50–950 ramp

primary
#C270ED
secondary
#D7EFCA
accent
#DA0C53
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C270ED

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

Preview Lab → · Contrast checker → · Palette generator →

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