#C257E7#C257E7

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

Color values

HEX#C257E7
RGBrgb(194, 87, 231)
HSLhsl(285, 75%, 62%)
HSVhsv(285, 62%, 91%)
CMYKcmyk(16%, 62.3%, 0%, 9.4%)
CIE-LABlab(56.14, 63.97, -54.66)
CIE-LCHlch(56.14, 84.14, 319.49°)
OKLaboklab(64.95% 0.1607 -0.1532)
OKLCHoklch(64.95% 0.222 316.4)
XYZxyz(40.0780, 24.0567, 78.1181)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257E7 #7CE757
analogous
#7A57E7 #C257E7 #E757C4
triadic
#C257E7 #E7C257 #57E7C2
tetradic
#C257E7 #E77A57 #7CE757 #57C4E7
square
#C257E7 #E77A57 #7CE757 #57C4E7
split-complementary
#C257E7 #C4E757 #57E77A
monochromatic
#8518AB #AF21DF #C257E7 #D58DEF #E9C2F6

Accessibility & contrast

On white

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

On black

5.81
#C257E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257E7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257E7#FFFFFF#000000##000000
##C257E71.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#588AE3
Tritanopia (blue-blind)
#C07197
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c257e7;
/* rgb */ color: rgb(194, 87, 231);
/* oklch */ color: oklch(65.0% 0.222 316.4);
Tailwind
colors: {
  custom: {
    50: '#d88def',
    500: '#c257e7',
    950: '#000000',
  },
}
SCSS
$custom: #c257e7;
$custom-light: #d88def;
$custom-dark: #000000;
JSON
{
  "hex": "#c257e7",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 284.583,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64951,
    "c": 0.22198,
    "h": 316.4
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#C257E7
secondary
#C0E7B3
accent
#D70E42
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C257E7

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

Preview Lab → · Contrast checker → · Palette generator →

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