#C256E1#C256E1

#C256E1 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.218 H 318.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C256E1
RGBrgb(194, 86, 225)
HSLhsl(287, 70%, 61%)
HSVhsv(287, 62%, 88%)
CMYKcmyk(13.8%, 61.8%, 0%, 11.8%)
CIE-LABlab(55.65, 63.24, -52.08)
CIE-LCHlch(55.65, 81.92, 320.53°)
OKLaboklab(64.48% 0.1618 -0.1456)
OKLCHoklch(64.48% 0.218 318)
XYZxyz(39.1646, 23.5628, 73.7046)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256E1 #75E156
analogous
#7C56E1 #C256E1 #E156BA
triadic
#C256E1 #E1C256 #56E1C2
tetradic
#C256E1 #E17C56 #75E156 #56BAE1
square
#C256E1 #E17C56 #75E156 #56BAE1
split-complementary
#C256E1 #BAE156 #56E17C
monochromatic
#831CA0 #AD26D4 #C256E1 #D58AEA #E8BEF3

Accessibility & contrast

On white

3.68
#C256E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C256E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256E1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256E1#FFFFFF#000000##000000
##C256E11.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7EE5
Deuteranopia (green-blind)
#5C89DE
Tritanopia (blue-blind)
#C16E94
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c256e1;
/* rgb */ color: rgb(194, 86, 225);
/* oklch */ color: oklch(64.5% 0.218 318.0);
Tailwind
colors: {
  custom: {
    50: '#d88ceb',
    500: '#c256e1',
    950: '#000000',
  },
}
SCSS
$custom: #c256e1;
$custom-light: #d88ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#c256e1",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 286.619,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64483,
    "c": 0.21771,
    "h": 318
  },
  "luminance": 0.23561
}

Semantic roles & 50–950 ramp

primary
#C256E1
secondary
#BBE4AF
accent
#D2143E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C256E1

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

Preview Lab → · Contrast checker → · Palette generator →

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