#C657EB#C657EB

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

Color values

HEX#C657EB
RGBrgb(198, 87, 235)
HSLhsl(285, 79%, 63%)
HSVhsv(285, 63%, 92%)
CMYKcmyk(15.7%, 63%, 0%, 7.8%)
CIE-LABlab(56.90, 65.67, -55.66)
CIE-LCHlch(56.90, 86.08, 319.72°)
OKLaboklab(65.68% 0.1654 -0.156)
OKLCHoklch(65.68% 0.227 316.7)
XYZxyz(41.6901, 24.8219, 81.1762)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C657EB #7CEB57
analogous
#7C57EB #C657EB #EB57C6
triadic
#C657EB #EBC657 #57EBC6
tetradic
#C657EB #EB7C57 #7CEB57 #57C6EB
square
#C657EB #EB7C57 #7CEB57 #57C6EB
split-complementary
#C657EB #C6EB57 #57EB7C
monochromatic
#8B15B2 #B320E4 #C657EB #D98EF2 #EBC4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C657EB#FFFFFF#000000##000000
##C657EB1.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)
#2282EF
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#C4729A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c657eb;
/* rgb */ color: rgb(198, 87, 235);
/* oklch */ color: oklch(65.7% 0.227 316.7);
Tailwind
colors: {
  custom: {
    50: '#db8df2',
    500: '#c657eb',
    950: '#000000',
  },
}
SCSS
$custom: #c657eb;
$custom-light: #db8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c657eb",
  "rgb": {
    "r": 198,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 285,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65681,
    "c": 0.22733,
    "h": 316.7
  },
  "luminance": 0.2482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C657EB

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

Preview Lab → · Contrast checker → · Palette generator →

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