#C270CD#C270CD

#C270CD is a light, vivid purple. Relative luminance 0.275; OKLCH L 66.9% C 0.158 H 322.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#C270CD
RGBrgb(194, 112, 205)
HSLhsl(293, 48%, 62%)
HSVhsv(293, 45%, 80%)
CMYKcmyk(5.4%, 45.4%, 0%, 19.6%)
CIE-LABlab(59.40, 46.72, -34.86)
CIE-LCHlch(59.40, 58.29, 323.27°)
OKLaboklab(66.92% 0.1259 -0.0959)
OKLCHoklch(66.92% 0.158 322.7)
XYZxyz(39.0606, 27.4671, 60.9899)
Luminance0.2747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C270CD #7BCD70
analogous
#9370CD #C270CD #CD70AA
triadic
#C270CD #CDC270 #70CDC2
tetradic
#C270CD #CD9370 #7BCD70 #70AACD
square
#C270CD #CD9370 #7BCD70 #70AACD
split-complementary
#C270CD #AACD70 #70CD93
monochromatic
#853290 #AF43BD #C270CD #D59DDD #E9CBED

Accessibility & contrast

On white

3.23
#C270CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#C270CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C270CD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C270CD#FFFFFF#000000##000000
##C270CD1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#7B92CA
Tritanopia (blue-blind)
#C57B95
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c270cd;
/* rgb */ color: rgb(194, 112, 205);
/* oklch */ color: oklch(66.9% 0.158 322.7);
Tailwind
colors: {
  custom: {
    50: '#d69bdc',
    500: '#c270cd',
    950: '#000000',
  },
}
SCSS
$custom: #c270cd;
$custom-light: #d69bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c270cd",
  "rgb": {
    "r": 194,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 292.903,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66921,
    "c": 0.15831,
    "h": 322.7
  },
  "luminance": 0.27465
}

Semantic roles & 50–950 ramp

primary
#C270CD
secondary
#BFDDBB
accent
#BB2A3B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #C270CD

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

Preview Lab → · Contrast checker → · Palette generator →

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