#C457EF#C457EF

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

Color values

HEX#C457EF
RGBrgb(196, 87, 239)
HSLhsl(283, 83%, 64%)
HSVhsv(283, 64%, 94%)
CMYKcmyk(18%, 63.6%, 0%, 6.3%)
CIE-LABlab(56.87, 66.01, -57.97)
CIE-LCHlch(56.87, 87.84, 318.71°)
OKLaboklab(65.67% 0.1629 -0.1628)
OKLCHoklch(65.67% 0.23 315)
XYZxyz(41.7506, 24.7856, 84.2294)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C457EF #82EF57
analogous
#7857EF #C457EF #EF57CE
triadic
#C457EF #EFC457 #57EFC4
tetradic
#C457EF #EF7857 #82EF57 #57CEEF
square
#C457EF #EF7857 #82EF57 #57CEEF
split-complementary
#C457EF #CEEF57 #57EF78
monochromatic
#8A12BA #B01FEA #C457EF #D88FF4 #EBC7FA

Accessibility & contrast

On white

3.53
#C457EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C457EF#FFFFFF#000000##000000
##C457EF1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1582F4
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#C1739C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c457ef;
/* rgb */ color: rgb(196, 87, 239);
/* oklch */ color: oklch(65.7% 0.230 315.0);
Tailwind
colors: {
  custom: {
    50: '#da8df5',
    500: '#c457ef',
    950: '#000000',
  },
}
SCSS
$custom: #c457ef;
$custom-light: #da8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c457ef",
  "rgb": {
    "r": 196,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 283.026,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65674,
    "c": 0.2303,
    "h": 315
  },
  "luminance": 0.24784
}

Semantic roles & 50–950 ramp

primary
#C457EF
secondary
#C5ECB6
accent
#DF0644
background
#FDF9FF
surface
#FBF1FE
border
#D4CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C457EF

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

Preview Lab → · Contrast checker → · Palette generator →

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