#C257CD#C257CD

#C257CD is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.5% C 0.198 H 323.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C257CD
RGBrgb(194, 87, 205)
HSLhsl(294, 54%, 57%)
HSVhsv(294, 58%, 80%)
CMYKcmyk(5.4%, 57.6%, 0%, 19.6%)
CIE-LABlab(54.76, 59.02, -42.15)
CIE-LCHlch(54.76, 72.53, 324.47°)
OKLaboklab(63.49% 0.1598 -0.1168)
OKLCHoklch(63.49% 0.198 323.8)
XYZxyz(36.6748, 22.6955, 60.1947)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257CD #62CD57
analogous
#8757CD #C257CD #CD579D
triadic
#C257CD #CDC257 #57CDC2
tetradic
#C257CD #CD8757 #62CD57 #579DCD
square
#C257CD #CD8757 #62CD57 #579DCD
split-complementary
#C257CD #9DCD57 #57CD87
monochromatic
#7A2783 #A635B2 #C257CD #D386DB #E4B5E9

Accessibility & contrast

On white

3.79
#C257CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C257CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257CD#FFFFFF#000000##000000
##C257CD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#6987CA
Tritanopia (blue-blind)
#C5678A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c257cd;
/* rgb */ color: rgb(194, 87, 205);
/* oklch */ color: oklch(63.5% 0.198 323.8);
Tailwind
colors: {
  custom: {
    50: '#d78cdd',
    500: '#c257cd',
    950: '#000000',
  },
}
SCSS
$custom: #c257cd;
$custom-light: #d78cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#c257cd",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 294.407,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.19789,
    "h": 323.8
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#C257CD
secondary
#ACD8A8
accent
#DD4A58
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C257CD

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

Preview Lab → · Contrast checker → · Palette generator →

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