#C257DC#C257DC

#C257DC is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.3% C 0.212 H 319.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#C257DC
RGBrgb(194, 87, 220)
HSLhsl(288, 66%, 60%)
HSVhsv(288, 60%, 86%)
CMYKcmyk(11.8%, 60.5%, 0%, 13.7%)
CIE-LABlab(55.54, 61.83, -49.43)
CIE-LCHlch(55.54, 79.16, 321.36°)
OKLaboklab(64.32% 0.1606 -0.1379)
OKLCHoklch(64.32% 0.212 319.3)
XYZxyz(38.5729, 23.4547, 70.1917)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257DC #71DC57
analogous
#8057DC #C257DC #DC57B3
triadic
#C257DC #DCC257 #57DCC2
tetradic
#C257DC #DC8057 #71DC57 #57B3DC
square
#C257DC #DC8057 #71DC57 #57B3DC
split-complementary
#C257DC #B3DC57 #57DC80
monochromatic
#812099 #AC2ACB #C257DC #D48AE7 #E7BCF1

Accessibility & contrast

On white

3.69
#C257DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#C257DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257DC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257DC#FFFFFF#000000##000000
##C257DC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#C26D92
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c257dc;
/* rgb */ color: rgb(194, 87, 220);
/* oklch */ color: oklch(64.3% 0.212 319.3);
Tailwind
colors: {
  custom: {
    50: '#d88ce7',
    500: '#c257dc',
    950: '#000000',
  },
}
SCSS
$custom: #c257dc;
$custom-light: #d88ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#c257dc",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 288.271,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.21166,
    "h": 319.3
  },
  "luminance": 0.23453
}

Semantic roles & 50–950 ramp

primary
#C257DC
secondary
#B8E1AE
accent
#CD183C
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C257DC

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

Preview Lab → · Contrast checker → · Palette generator →

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