#C270EF#C270EF

#C270EF is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.7% C 0.194 H 312.2°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#C270EF
RGBrgb(194, 112, 239)
HSLhsl(279, 80%, 69%)
HSVhsv(279, 53%, 94%)
CMYKcmyk(18.8%, 53.1%, 0%, 6.3%)
CIE-LABlab(61.04, 53.61, -51.33)
CIE-LCHlch(61.04, 74.23, 316.25°)
OKLaboklab(68.66% 0.1301 -0.1436)
OKLCHoklch(68.66% 0.194 312.2)
XYZxyz(43.6196, 29.2907, 85.0005)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270EF #9DEF70
analogous
#8370EF #C270EF #EF70DD
triadic
#C270EF #EFC270 #70EFC2
tetradic
#C270EF #EF8370 #9DEF70 #70DDEF
square
#C270EF #EF8370 #9DEF70 #70DDEF
split-complementary
#C270EF #DDEF70 #70EF83
monochromatic
#8D17CE #AB39E9 #C270EF #D9A7F5 #F1DEFB

Accessibility & contrast

On white

3.06
#C270EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#C270EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C270EF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270EF#FFFFFF#000000##000000
##C270EF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#BD85A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c270ef;
/* rgb */ color: rgb(194, 112, 239);
/* oklch */ color: oklch(68.7% 0.194 312.2);
Tailwind
colors: {
  custom: {
    50: '#d79cf5',
    500: '#c270ef',
    950: '#000000',
  },
}
SCSS
$custom: #c270ef;
$custom-light: #d79cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c270ef",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 278.74,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68663,
    "c": 0.19376,
    "h": 312.2
  },
  "luminance": 0.2929
}

Semantic roles & 50–950 ramp

primary
#C270EF
secondary
#D8F0CB
accent
#DC0954
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C270EF

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

Preview Lab → · Contrast checker → · Palette generator →

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