#C456F2#C456F2

#C456F2 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.234 H 314.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#C456F2
RGBrgb(196, 86, 242)
HSLhsl(282, 86%, 64%)
HSVhsv(282, 64%, 95%)
CMYKcmyk(19%, 64.5%, 0%, 5.1%)
CIE-LABlab(56.88, 67.04, -59.61)
CIE-LCHlch(56.88, 89.71, 318.36°)
OKLaboklab(65.74% 0.1639 -0.1676)
OKLCHoklch(65.74% 0.234 314.4)
XYZxyz(42.1171, 24.8035, 86.5561)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C456F2 #84F256
analogous
#7656F2 #C456F2 #F256D2
triadic
#C456F2 #F2C456 #56F2C4
tetradic
#C456F2 #F27656 #84F256 #56D2F2
square
#C456F2 #F27656 #84F256 #56D2F2
split-complementary
#C456F2 #D2F256 #56F276
monochromatic
#8B0FBF #B01DEE #C456F2 #D88FF6 #ECC8FB

Accessibility & contrast

On white

3.52
#C456F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#C456F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C456F2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C456F2#FFFFFF#000000##000000
##C456F21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#C0749D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c456f2;
/* rgb */ color: rgb(196, 86, 242);
/* oklch */ color: oklch(65.7% 0.234 314.4);
Tailwind
colors: {
  custom: {
    50: '#da8df7',
    500: '#c456f2',
    950: '#000000',
  },
}
SCSS
$custom: #c456f2;
$custom-light: #da8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#c456f2",
  "rgb": {
    "r": 196,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 282.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65743,
    "c": 0.23443,
    "h": 314.4
  },
  "luminance": 0.24802
}

Semantic roles & 50–950 ramp

primary
#C456F2
secondary
#C7EDB7
accent
#E20345
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C456F2

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

Preview Lab → · Contrast checker → · Palette generator →

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