#C456EC#C456EC

#C456EC is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.229 H 315.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#C456EC
RGBrgb(196, 86, 236)
HSLhsl(284, 80%, 63%)
HSVhsv(284, 64%, 93%)
CMYKcmyk(16.9%, 63.6%, 0%, 7.5%)
CIE-LABlab(56.53, 65.85, -56.82)
CIE-LCHlch(56.53, 86.97, 319.21°)
OKLaboklab(65.38% 0.1641 -0.1594)
OKLCHoklch(65.38% 0.229 315.8)
XYZxyz(41.2307, 24.4490, 81.8879)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C456EC #7EEC56
analogous
#7956EC #C456EC #EC56C9
triadic
#C456EC #ECC456 #56ECC4
tetradic
#C456EC #EC7956 #7EEC56 #56C9EC
square
#C456EC #EC7956 #7EEC56 #56C9EC
split-complementary
#C456EC #C9EC56 #56EC79
monochromatic
#8914B3 #B11FE6 #C456EC #D78DF2 #EAC4F8

Accessibility & contrast

On white

3.57
#C456EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#C456EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C456EC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C456EC#FFFFFF#000000##000000
##C456EC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A81F1
Deuteranopia (green-blind)
#558BE8
Tritanopia (blue-blind)
#C1729A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c456ec;
/* rgb */ color: rgb(196, 86, 236);
/* oklch */ color: oklch(65.4% 0.229 315.8);
Tailwind
colors: {
  custom: {
    50: '#d98cf3',
    500: '#c456ec',
    950: '#000000',
  },
}
SCSS
$custom: #c456ec;
$custom-light: #d98cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c456ec",
  "rgb": {
    "r": 196,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 284,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65379,
    "c": 0.22879,
    "h": 315.8
  },
  "luminance": 0.24447
}

Semantic roles & 50–950 ramp

primary
#C456EC
secondary
#C2EAB4
accent
#DC0942
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C456EC

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

Preview Lab → · Contrast checker → · Palette generator →

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