#C256E5#C256E5

#C256E5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.7% C 0.221 H 317.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C256E5
RGBrgb(194, 86, 229)
HSLhsl(285, 73%, 62%)
HSVhsv(285, 62%, 90%)
CMYKcmyk(15.3%, 62.4%, 0%, 10.2%)
CIE-LABlab(55.87, 64.02, -53.97)
CIE-LCHlch(55.87, 83.74, 319.87°)
OKLaboklab(64.72% 0.1618 -0.1512)
OKLCHoklch(64.72% 0.221 317)
XYZxyz(39.7167, 23.7836, 76.6121)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256E5 #79E556
analogous
#7B56E5 #C256E5 #E556C0
triadic
#C256E5 #E5C256 #56E5C2
tetradic
#C256E5 #E57B56 #79E556 #56C0E5
square
#C256E5 #E57B56 #79E556 #56C0E5
split-complementary
#C256E5 #C0E556 #56E57B
monochromatic
#841AA7 #AE22DC #C256E5 #D58BED #E8C0F5

Accessibility & contrast

On white

3.65
#C256E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C256E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256E5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256E5#FFFFFF#000000##000000
##C256E51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#5989E2
Tritanopia (blue-blind)
#C06F96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c256e5;
/* rgb */ color: rgb(194, 86, 229);
/* oklch */ color: oklch(64.7% 0.221 317.0);
Tailwind
colors: {
  custom: {
    50: '#d88cee',
    500: '#c256e5',
    950: '#000000',
  },
}
SCSS
$custom: #c256e5;
$custom-light: #d88cee;
$custom-dark: #000000;
JSON
{
  "hex": "#c256e5",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 285.315,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64716,
    "c": 0.22145,
    "h": 317
  },
  "luminance": 0.23782
}

Semantic roles & 50–950 ramp

primary
#C256E5
secondary
#BEE6B1
accent
#D51040
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C256E5

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

Preview Lab → · Contrast checker → · Palette generator →

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