#C270FD#C270FD

#C270FD is a light, highly saturated violet. Relative luminance 0.301; OKLCH L 69.5% C 0.209 H 308.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#C270FD
RGBrgb(194, 112, 253)
HSLhsl(275, 97%, 72%)
HSVhsv(275, 56%, 99%)
CMYKcmyk(23.3%, 55.7%, 0%, 0.8%)
CIE-LABlab(61.78, 56.63, -57.88)
CIE-LCHlch(61.78, 80.98, 314.37°)
OKLaboklab(69.45% 0.1308 -0.1627)
OKLCHoklch(69.45% 0.209 308.8)
XYZxyz(45.7684, 30.1502, 96.3180)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270FD #ABFD70
analogous
#7C70FD #C270FD #FD70F1
triadic
#C270FD #FDC270 #70FDC2
tetradic
#C270FD #FD7C70 #ABFD70 #70F1FD
square
#C270FD #FD7C70 #ABFD70 #70F1FD
split-complementary
#C270FD #F1FD70 #70FD7C
monochromatic
#8D03EF #A834FC #C270FD #DCACFE #F2E1FF

Accessibility & contrast

On white

2.99
#C270FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#C270FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C270FD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270FD#FFFFFF#000000##000000
##C270FD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#5F96FA
Tritanopia (blue-blind)
#BA8AAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c270fd;
/* rgb */ color: rgb(194, 112, 253);
/* oklch */ color: oklch(69.5% 0.209 308.8);
Tailwind
colors: {
  custom: {
    50: '#d89cff',
    500: '#c270fd',
    950: '#000000',
  },
}
SCSS
$custom: #c270fd;
$custom-light: #d89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#c270fd",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 274.894,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.20879,
    "h": 308.8
  },
  "luminance": 0.3015
}

Semantic roles & 50–950 ramp

primary
#C270FD
secondary
#E1F7D2
accent
#E60060
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C270FD

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

Preview Lab → · Contrast checker → · Palette generator →

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