#C257E8#C257E8

#C257E8 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.0% C 0.223 H 316.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C257E8
RGBrgb(194, 87, 232)
HSLhsl(284, 76%, 63%)
HSVhsv(284, 63%, 91%)
CMYKcmyk(16.4%, 62.5%, 0%, 9%)
CIE-LABlab(56.20, 64.17, -55.13)
CIE-LCHlch(56.20, 84.60, 319.33°)
OKLaboklab(65.01% 0.1607 -0.1545)
OKLCHoklch(65.01% 0.223 316.1)
XYZxyz(40.2196, 24.1134, 78.8640)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257E8 #7DE857
analogous
#7A57E8 #C257E8 #E857C5
triadic
#C257E8 #E8C257 #57E8C2
tetradic
#C257E8 #E87A57 #7DE857 #57C5E8
square
#C257E8 #E87A57 #7DE857 #57C5E8
split-complementary
#C257E8 #C5E857 #57E87A
monochromatic
#8618AD #AE21E1 #C257E8 #D68DEF #E9C3F7

Accessibility & contrast

On white

3.61
#C257E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C257E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257E8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257E8#FFFFFF#000000##000000
##C257E81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2380EC
Deuteranopia (green-blind)
#578AE4
Tritanopia (blue-blind)
#C07198
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c257e8;
/* rgb */ color: rgb(194, 87, 232);
/* oklch */ color: oklch(65.0% 0.223 316.1);
Tailwind
colors: {
  custom: {
    50: '#d88df0',
    500: '#c257e8',
    950: '#000000',
  },
}
SCSS
$custom: #c257e8;
$custom-light: #d88df0;
$custom-dark: #000000;
JSON
{
  "hex": "#c257e8",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 284.276,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6501,
    "c": 0.22293,
    "h": 316.1
  },
  "luminance": 0.24112
}

Semantic roles & 50–950 ramp

primary
#C257E8
secondary
#C1E8B3
accent
#D80D43
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C257E8

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

Preview Lab → · Contrast checker → · Palette generator →

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