#C457EB#C457EB

#C457EB is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.227 H 316.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C457EB
RGBrgb(196, 87, 235)
HSLhsl(284, 79%, 63%)
HSVhsv(284, 63%, 92%)
CMYKcmyk(16.6%, 63%, 0%, 7.8%)
CIE-LABlab(56.64, 65.21, -56.10)
CIE-LCHlch(56.64, 86.02, 319.30°)
OKLaboklab(65.43% 0.163 -0.1573)
OKLCHoklch(65.43% 0.227 316)
XYZxyz(41.1662, 24.5518, 81.1516)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C457EB #7EEB57
analogous
#7A57EB #C457EB #EB57C8
triadic
#C457EB #EBC457 #57EBC4
tetradic
#C457EB #EB7A57 #7EEB57 #57C8EB
square
#C457EB #EB7A57 #7EEB57 #57C8EB
split-complementary
#C457EB #C8EB57 #57EB7A
monochromatic
#8915B2 #B120E4 #C457EB #D78EF2 #EAC4F8

Accessibility & contrast

On white

3.55
#C457EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C457EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C457EB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C457EB#FFFFFF#000000##000000
##C457EB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#C2729A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c457eb;
/* rgb */ color: rgb(196, 87, 235);
/* oklch */ color: oklch(65.4% 0.227 316.0);
Tailwind
colors: {
  custom: {
    50: '#d98df2',
    500: '#c457eb',
    950: '#000000',
  },
}
SCSS
$custom: #c457eb;
$custom-light: #d98df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c457eb",
  "rgb": {
    "r": 196,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 284.189,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65434,
    "c": 0.22654,
    "h": 316
  },
  "luminance": 0.2455
}

Semantic roles & 50–950 ramp

primary
#C457EB
secondary
#C2E9B4
accent
#DB0A41
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C457EB

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

Preview Lab → · Contrast checker → · Palette generator →

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