#C256C2#C256C2

#C256C2 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.8% C 0.190 H 327.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C256C2
RGBrgb(194, 86, 194)
HSLhsl(300, 47%, 55%)
HSVhsv(300, 56%, 76%)
CMYKcmyk(0%, 55.7%, 0%, 23.9%)
CIE-LABlab(54.05, 57.51, -36.96)
CIE-LCHlch(54.05, 68.36, 327.27°)
OKLaboklab(62.8% 0.16 -0.1018)
OKLCHoklch(62.8% 0.19 327.5)
XYZxyz(35.3130, 22.0221, 53.4192)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256C2 #56C256
analogous
#8C56C2 #C256C2 #C2568C
triadic
#C256C2 #C2C256 #56C2C2
tetradic
#C256C2 #C28C56 #56C256 #568CC2
square
#C256C2 #C28C56 #56C256 #568CC2
split-complementary
#C256C2 #8CC256 #56C28C
monochromatic
#742A74 #A13AA1 #C256C2 #D283D2 #E2B0E2

Accessibility & contrast

On white

3.89
#C256C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#C256C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256C2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256C2#FFFFFF#000000##000000
##C256C21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#6E86BF
Tritanopia (blue-blind)
#C76384
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c256c2;
/* rgb */ color: rgb(194, 86, 194);
/* oklch */ color: oklch(62.8% 0.190 327.5);
Tailwind
colors: {
  custom: {
    50: '#d78bd5',
    500: '#c256c2',
    950: '#000000',
  },
}
SCSS
$custom: #c256c2;
$custom-light: #d78bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c256c2",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62802,
    "c": 0.18962,
    "h": 327.5
  },
  "luminance": 0.2202
}

Semantic roles & 50–950 ramp

primary
#C256C2
secondary
#A3D1A3
accent
#D75151
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C256C2

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

Preview Lab → · Contrast checker → · Palette generator →

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