#C257EA#C257EA

#C257EA is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.225 H 315.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C257EA
RGBrgb(194, 87, 234)
HSLhsl(284, 78%, 63%)
HSVhsv(284, 63%, 92%)
CMYKcmyk(17.1%, 62.8%, 0%, 8.2%)
CIE-LABlab(56.32, 64.56, -56.07)
CIE-LCHlch(56.32, 85.51, 319.03°)
OKLaboklab(65.13% 0.1606 -0.1573)
OKLCHoklch(65.13% 0.225 315.6)
XYZxyz(40.5053, 24.2277, 80.3687)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257EA #7FEA57
analogous
#7857EA #C257EA #EA57C9
triadic
#C257EA #EAC257 #57EAC2
tetradic
#C257EA #EA7857 #7FEA57 #57C9EA
square
#C257EA #EA7857 #7FEA57 #57C9EA
split-complementary
#C257EA #C9EA57 #57EA78
monochromatic
#8616B1 #AE21E3 #C257EA #D68DF1 #EAC4F8

Accessibility & contrast

On white

3.59
#C257EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#C257EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257EA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257EA#FFFFFF#000000##000000
##C257EA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EE
Deuteranopia (green-blind)
#568AE6
Tritanopia (blue-blind)
#BF7299
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c257ea;
/* rgb */ color: rgb(194, 87, 234);
/* oklch */ color: oklch(65.1% 0.225 315.6);
Tailwind
colors: {
  custom: {
    50: '#d88df1',
    500: '#c257ea',
    950: '#000000',
  },
}
SCSS
$custom: #c257ea;
$custom-light: #d88df1;
$custom-dark: #000000;
JSON
{
  "hex": "#c257ea",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 283.673,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65129,
    "c": 0.22482,
    "h": 315.6
  },
  "luminance": 0.24226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C257EA

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

Preview Lab → · Contrast checker → · Palette generator →

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