#C456E2#C456E2

#C456E2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.219 H 318.4°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C456E2
RGBrgb(196, 86, 226)
HSLhsl(287, 71%, 61%)
HSVhsv(287, 62%, 89%)
CMYKcmyk(13.3%, 61.9%, 0%, 11.4%)
CIE-LABlab(55.97, 63.90, -52.11)
CIE-LCHlch(55.97, 82.46, 320.81°)
OKLaboklab(64.79% 0.1642 -0.1457)
OKLCHoklch(64.79% 0.219 318.4)
XYZxyz(39.8183, 23.8840, 74.4494)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C456E2 #74E256
analogous
#7E56E2 #C456E2 #E256BA
triadic
#C456E2 #E2C456 #56E2C4
tetradic
#C456E2 #E27E56 #74E256 #56BAE2
square
#C456E2 #E27E56 #74E256 #56BAE2
split-complementary
#C456E2 #BAE256 #56E27E
monochromatic
#851CA2 #B025D6 #C456E2 #D68AEB #E8BEF4

Accessibility & contrast

On white

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

On black

5.78
#C456E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C456E2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C456E2#FFFFFF#000000##000000
##C456E21.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#C46E94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c456e2;
/* rgb */ color: rgb(196, 86, 226);
/* oklch */ color: oklch(64.8% 0.219 318.4);
Tailwind
colors: {
  custom: {
    50: '#d98cec',
    500: '#c456e2',
    950: '#000000',
  },
}
SCSS
$custom: #c456e2;
$custom-light: #d98cec;
$custom-dark: #000000;
JSON
{
  "hex": "#c456e2",
  "rgb": {
    "r": 196,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 287.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64791,
    "c": 0.21949,
    "h": 318.4
  },
  "luminance": 0.23882
}

Semantic roles & 50–950 ramp

primary
#C456E2
secondary
#BBE4B0
accent
#D3133C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C456E2

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

Preview Lab → · Contrast checker → · Palette generator →

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