#C256E6#C256E6

#C256E6 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.222 H 316.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C256E6
RGBrgb(194, 86, 230)
HSLhsl(285, 74%, 62%)
HSVhsv(285, 63%, 90%)
CMYKcmyk(15.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(55.93, 64.22, -54.44)
CIE-LCHlch(55.93, 84.19, 319.71°)
OKLaboklab(64.78% 0.1618 -0.1525)
OKLCHoklch(64.78% 0.222 316.7)
XYZxyz(39.8567, 23.8396, 77.3496)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C256E6 #7AE656
analogous
#7A56E6 #C256E6 #E656C2
triadic
#C256E6 #E6C256 #56E6C2
tetradic
#C256E6 #E67A56 #7AE656 #56C2E6
square
#C256E6 #E67A56 #7AE656 #56C2E6
split-complementary
#C256E6 #C2E656 #56E67A
monochromatic
#8519A9 #AF21DE #C256E6 #D58BEE #E8C1F6

Accessibility & contrast

On white

3.64
#C256E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C256E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C256E6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C256E6#FFFFFF#000000##000000
##C256E61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FEA
Deuteranopia (green-blind)
#5889E2
Tritanopia (blue-blind)
#C07097
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c256e6;
/* rgb */ color: rgb(194, 86, 230);
/* oklch */ color: oklch(64.8% 0.222 316.7);
Tailwind
colors: {
  custom: {
    50: '#d88cee',
    500: '#c256e6',
    950: '#000000',
  },
}
SCSS
$custom: #c256e6;
$custom-light: #d88cee;
$custom-dark: #000000;
JSON
{
  "hex": "#c256e6",
  "rgb": {
    "r": 194,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 285,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64775,
    "c": 0.22239,
    "h": 316.7
  },
  "luminance": 0.23838
}

Semantic roles & 50–950 ramp

primary
#C256E6
secondary
#BFE6B1
accent
#D60F41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C256E6

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

Preview Lab → · Contrast checker → · Palette generator →

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