#C457FE#C457FE

#C457FE is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.6% C 0.245 H 311.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#C457FE
RGBrgb(196, 87, 254)
HSLhsl(279, 99%, 67%)
HSVhsv(279, 66%, 100%)
CMYKcmyk(22.8%, 65.7%, 0%, 0.4%)
CIE-LABlab(57.76, 69.03, -64.86)
CIE-LCHlch(57.76, 94.73, 316.78°)
OKLaboklab(66.6% 0.1621 -0.183)
OKLCHoklch(66.6% 0.245 311.5)
XYZxyz(44.0592, 25.7090, 96.3881)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C457FE #91FE57
analogous
#7157FE #C457FE #FE57E4
triadic
#C457FE #FEC457 #57FEC4
tetradic
#C457FE #FE7157 #91FE57 #57E4FE
square
#C457FE #FE7157 #91FE57 #57E4FE
split-complementary
#C457FE #E4FE57 #57FE71
monochromatic
#8E01D9 #AF1AFE #C457FE #D994FE #EFD1FF

Accessibility & contrast

On white

3.42
#C457FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#C457FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C457FE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C457FE#FFFFFF#000000##000000
##C457FE1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#BD79A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c457fe;
/* rgb */ color: rgb(196, 87, 254);
/* oklch */ color: oklch(66.6% 0.245 311.5);
Tailwind
colors: {
  custom: {
    50: '#da8dff',
    500: '#c457fe',
    950: '#000000',
  },
}
SCSS
$custom: #c457fe;
$custom-light: #da8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c457fe",
  "rgb": {
    "r": 196,
    "g": 87,
    "b": 254
  },
  "hsl": {
    "h": 279.162,
    "s": 98.817,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66604,
    "c": 0.24451,
    "h": 311.5
  },
  "luminance": 0.25708
}

Semantic roles & 50–950 ramp

primary
#C457FE
secondary
#D0F3BE
accent
#E60050
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C457FE

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

Preview Lab → · Contrast checker → · Palette generator →

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