#C270FE#C270FE

#C270FE is a light, highly saturated violet. Relative luminance 0.302; OKLCH L 69.5% C 0.210 H 308.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#C270FE
RGBrgb(194, 112, 254)
HSLhsl(275, 99%, 72%)
HSVhsv(275, 56%, 100%)
CMYKcmyk(23.6%, 55.9%, 0%, 0.4%)
CIE-LABlab(61.84, 56.85, -58.34)
CIE-LCHlch(61.84, 81.46, 314.26°)
OKLaboklab(69.51% 0.1308 -0.1641)
OKLCHoklch(69.51% 0.21 308.6)
XYZxyz(45.9282, 30.2141, 97.1591)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270FE #ACFE70
analogous
#7B70FE #C270FE #FE70F3
triadic
#C270FE #FEC270 #70FEC2
tetradic
#C270FE #FE7B70 #ACFE70 #70F3FE
square
#C270FE #FE7B70 #ACFE70 #70F3FE
split-complementary
#C270FE #F3FE70 #70FE7B
monochromatic
#8C02F2 #A833FE #C270FE #DCADFE #F2E1FF

Accessibility & contrast

On white

2.98
#C270FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#C270FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C270FE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270FE#FFFFFF#000000##000000
##C270FE1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#5E96FB
Tritanopia (blue-blind)
#B98AAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c270fe;
/* rgb */ color: rgb(194, 112, 254);
/* oklch */ color: oklch(69.5% 0.210 308.6);
Tailwind
colors: {
  custom: {
    50: '#d89cff',
    500: '#c270fe',
    950: '#000000',
  },
}
SCSS
$custom: #c270fe;
$custom-light: #d89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c270fe",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 274.648,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69511,
    "c": 0.20986,
    "h": 308.6
  },
  "luminance": 0.30213
}

Semantic roles & 50–950 ramp

primary
#C270FE
secondary
#E2F7D3
accent
#E60061
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C270FE

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

Preview Lab → · Contrast checker → · Palette generator →

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