#C270FB#C270FB

#C270FB is a light, highly saturated violet. Relative luminance 0.300; OKLCH L 69.3% C 0.207 H 309.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#C270FB
RGBrgb(194, 112, 251)
HSLhsl(275, 95%, 71%)
HSVhsv(275, 55%, 98%)
CMYKcmyk(22.7%, 55.4%, 0%, 1.6%)
CIE-LABlab(61.67, 56.19, -56.95)
CIE-LCHlch(61.67, 80.01, 314.62°)
OKLaboklab(69.34% 0.1307 -0.16)
OKLCHoklch(69.34% 0.207 309.3)
XYZxyz(45.4515, 30.0235, 94.6488)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270FB #A9FB70
analogous
#7C70FB #C270FB #FB70EE
triadic
#C270FB #FBC270 #70FBC2
tetradic
#C270FB #FB7C70 #A9FB70 #70EEFB
square
#C270FB #FB7C70 #A9FB70 #70EEFB
split-complementary
#C270FB #EEFB70 #70FB7C
monochromatic
#8D07EA #A934F9 #C270FB #DBACFD #F2E1FE

Accessibility & contrast

On white

3.00
#C270FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#C270FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C270FB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270FB#FFFFFF#000000##000000
##C270FB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#BA89AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c270fb;
/* rgb */ color: rgb(194, 112, 251);
/* oklch */ color: oklch(69.3% 0.207 309.3);
Tailwind
colors: {
  custom: {
    50: '#d89cfd',
    500: '#c270fb',
    950: '#000000',
  },
}
SCSS
$custom: #c270fb;
$custom-light: #d89cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c270fb",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 275.396,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69338,
    "c": 0.20663,
    "h": 309.3
  },
  "luminance": 0.30023
}

Semantic roles & 50–950 ramp

primary
#C270FB
secondary
#E0F6D1
accent
#E6005E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C270FB

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

Preview Lab → · Contrast checker → · Palette generator →

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