#C257E4#C257E4

#C257E4 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.8% C 0.219 H 317.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C257E4
RGBrgb(194, 87, 228)
HSLhsl(286, 72%, 62%)
HSVhsv(286, 62%, 89%)
CMYKcmyk(14.9%, 61.8%, 0%, 10.6%)
CIE-LABlab(55.98, 63.38, -53.24)
CIE-LCHlch(55.98, 82.78, 319.97°)
OKLaboklab(64.78% 0.1607 -0.149)
OKLCHoklch(64.78% 0.219 317.2)
XYZxyz(39.6579, 23.8887, 75.9057)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257E4 #79E457
analogous
#7C57E4 #C257E4 #E457C0
triadic
#C257E4 #E4C257 #57E4C2
tetradic
#C257E4 #E47C57 #79E457 #57C0E4
square
#C257E4 #E47C57 #79E457 #57C0E4
split-complementary
#C257E4 #C0E457 #57E47C
monochromatic
#841BA6 #AE23DB #C257E4 #D58CEC #E8C0F5

Accessibility & contrast

On white

3.63
#C257E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C257E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257E4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257E4#FFFFFF#000000##000000
##C257E41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE8
Deuteranopia (green-blind)
#5A89E1
Tritanopia (blue-blind)
#C17096
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c257e4;
/* rgb */ color: rgb(194, 87, 228);
/* oklch */ color: oklch(64.8% 0.219 317.2);
Tailwind
colors: {
  custom: {
    50: '#d88ded',
    500: '#c257e4',
    950: '#000000',
  },
}
SCSS
$custom: #c257e4;
$custom-light: #d88ded;
$custom-dark: #000000;
JSON
{
  "hex": "#c257e4",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 285.532,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64775,
    "c": 0.21915,
    "h": 317.2
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#C257E4
secondary
#BEE6B1
accent
#D41140
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C257E4

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

Preview Lab → · Contrast checker → · Palette generator →

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