#C256DC#C256DC

#C256DC is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.213 H 319.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C256DC
RGBrgb(194, 86, 220)
HSLhsl(288, 66%, 60%)
HSVhsv(288, 61%, 86%)
CMYKcmyk(11.8%, 60.9%, 0%, 13.7%)
CIE-LABlab(55.37, 62.28, -49.69)
CIE-LCHlch(55.37, 79.68, 321.42°)
OKLaboklab(64.2% 0.1618 -0.1387)
OKLCHoklch(64.2% 0.213 319.4)
XYZxyz(38.4925, 23.2939, 70.1649)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256DC #70DC56
analogous
#7F56DC #C256DC #DC56B3
triadic
#C256DC #DCC256 #56DCC2
tetradic
#C256DC #DC7F56 #70DC56 #56B3DC
square
#C256DC #DC7F56 #70DC56 #56B3DC
split-complementary
#C256DC #B3DC56 #56DC7F
monochromatic
#812098 #AC2ACB #C256DC #D489E6 #E7BBF1

Accessibility & contrast

On white

3.71
#C256DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#C256DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256DC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256DC#FFFFFF#000000##000000
##C256DC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#5F88D9
Tritanopia (blue-blind)
#C26C91
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c256dc;
/* rgb */ color: rgb(194, 86, 220);
/* oklch */ color: oklch(64.2% 0.213 319.4);
Tailwind
colors: {
  custom: {
    50: '#d88ce7',
    500: '#c256dc',
    950: '#000000',
  },
}
SCSS
$custom: #c256dc;
$custom-light: #d88ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#c256dc",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 288.358,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.21306,
    "h": 319.4
  },
  "luminance": 0.23292
}

Semantic roles & 50–950 ramp

primary
#C256DC
secondary
#B7E1AD
accent
#E93F60
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C256DC

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

Preview Lab → · Contrast checker → · Palette generator →

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