#C256CA#C256CA

#C256CA is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.2% C 0.197 H 324.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C256CA
RGBrgb(194, 86, 202)
HSLhsl(296, 52%, 56%)
HSVhsv(296, 57%, 79%)
CMYKcmyk(4%, 57.4%, 0%, 20.8%)
CIE-LABlab(54.44, 58.93, -40.94)
CIE-LCHlch(54.44, 71.76, 325.21°)
OKLaboklab(63.21% 0.1608 -0.1132)
OKLCHoklch(63.21% 0.197 324.8)
XYZxyz(36.2357, 22.3912, 58.2790)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256CA #5ECA56
analogous
#8856CA #C256CA #CA5698
triadic
#C256CA #CAC256 #56CAC2
tetradic
#C256CA #CA8856 #5ECA56 #5698CA
square
#C256CA #CA8856 #5ECA56 #5698CA
split-complementary
#C256CA #98CA56 #56CA88
monochromatic
#78287E #A436AD #C256CA #D385D9 #E4B3E7

Accessibility & contrast

On white

3.83
#C256CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#C256CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256CA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256CA#FFFFFF#000000##000000
##C256CA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#C66588
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c256ca;
/* rgb */ color: rgb(194, 86, 202);
/* oklch */ color: oklch(63.2% 0.197 324.8);
Tailwind
colors: {
  custom: {
    50: '#d78bda',
    500: '#c256ca',
    950: '#000000',
  },
}
SCSS
$custom: #c256ca;
$custom-light: #d78bda;
$custom-dark: #000000;
JSON
{
  "hex": "#c256ca",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 295.862,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63213,
    "c": 0.19666,
    "h": 324.8
  },
  "luminance": 0.22389
}

Semantic roles & 50–950 ramp

primary
#C256CA
secondary
#A9D6A6
accent
#DC4C56
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C256CA

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

Preview Lab → · Contrast checker → · Palette generator →

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