#C256CC#C256CC

#C256CC is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.3% C 0.198 H 324.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#C256CC
RGBrgb(194, 86, 204)
HSLhsl(295, 54%, 57%)
HSVhsv(295, 58%, 80%)
CMYKcmyk(4.9%, 57.8%, 0%, 20%)
CIE-LABlab(54.54, 59.30, -41.92)
CIE-LCHlch(54.54, 72.62, 324.74°)
OKLaboklab(63.32% 0.161 -0.1161)
OKLCHoklch(63.32% 0.198 324.2)
XYZxyz(36.4741, 22.4865, 59.5342)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256CC #60CC56
analogous
#8756CC #C256CC #CC569B
triadic
#C256CC #CCC256 #56CCC2
tetradic
#C256CC #CC8756 #60CC56 #569BCC
square
#C256CC #CC8756 #60CC56 #569BCC
split-complementary
#C256CC #9BCC56 #56CC87
monochromatic
#792781 #A535B0 #C256CC #D385DA #E4B4E8

Accessibility & contrast

On white

3.82
#C256CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#C256CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256CC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256CC#FFFFFF#000000##000000
##C256CC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#C66689
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c256cc;
/* rgb */ color: rgb(194, 86, 204);
/* oklch */ color: oklch(63.3% 0.198 324.2);
Tailwind
colors: {
  custom: {
    50: '#d78bdc',
    500: '#c256cc',
    950: '#000000',
  },
}
SCSS
$custom: #c256cc;
$custom-light: #d78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#c256cc",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 294.915,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63318,
    "c": 0.19845,
    "h": 324.2
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#C256CC
secondary
#ABD7A7
accent
#DD4B57
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C256CC

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

Preview Lab → · Contrast checker → · Palette generator →

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