#C270FC#C270FC

#C270FC is a light, highly saturated violet. Relative luminance 0.301; OKLCH L 69.4% C 0.208 H 309.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C270FC
RGBrgb(194, 112, 252)
HSLhsl(275, 96%, 71%)
HSVhsv(275, 56%, 99%)
CMYKcmyk(23%, 55.6%, 0%, 1.2%)
CIE-LABlab(61.73, 56.41, -57.42)
CIE-LCHlch(61.73, 80.49, 314.49°)
OKLaboklab(69.4% 0.1308 -0.1614)
OKLCHoklch(69.4% 0.208 309)
XYZxyz(45.6096, 30.0867, 95.4812)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270FC #AAFC70
analogous
#7C70FC #C270FC #FC70F0
triadic
#C270FC #FCC270 #70FCC2
tetradic
#C270FC #FC7C70 #AAFC70 #70F0FC
square
#C270FC #FC7C70 #AAFC70 #70F0FC
split-complementary
#C270FC #F0FC70 #70FC7C
monochromatic
#8D05ED #A834FB #C270FC #DCACFD #F2E1FE

Accessibility & contrast

On white

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

On black

7.02
#C270FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C270FC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270FC#FFFFFF#000000##000000
##C270FC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c270fc;
/* rgb */ color: rgb(194, 112, 252);
/* oklch */ color: oklch(69.4% 0.208 309.0);
Tailwind
colors: {
  custom: {
    50: '#d89cfe',
    500: '#c270fc',
    950: '#000000',
  },
}
SCSS
$custom: #c270fc;
$custom-light: #d89cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c270fc",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 275.143,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69395,
    "c": 0.20771,
    "h": 309
  },
  "luminance": 0.30086
}

Semantic roles & 50–950 ramp

primary
#C270FC
secondary
#E1F6D2
accent
#E6005F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C270FC

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

Preview Lab → · Contrast checker → · Palette generator →

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