#C257C8#C257C8

#C257C8 is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.2% C 0.193 H 325.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C257C8
RGBrgb(194, 87, 200)
HSLhsl(297, 51%, 56%)
HSVhsv(297, 57%, 78%)
CMYKcmyk(3%, 56.5%, 0%, 21.6%)
CIE-LABlab(54.51, 58.11, -39.68)
CIE-LCHlch(54.51, 70.37, 325.67°)
OKLaboklab(63.23% 0.1593 -0.1096)
OKLCHoklch(63.23% 0.193 325.5)
XYZxyz(36.0809, 22.4579, 57.0667)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257C8 #5DC857
analogous
#8A57C8 #C257C8 #C85796
triadic
#C257C8 #C8C257 #57C8C2
tetradic
#C257C8 #C88A57 #5DC857 #5796C8
square
#C257C8 #C88A57 #5DC857 #5796C8
split-complementary
#C257C8 #96C857 #57C88A
monochromatic
#78297C #A438AA #C257C8 #D385D7 #E3B3E6

Accessibility & contrast

On white

3.82
#C257C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C257C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257C8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257C8#FFFFFF#000000##000000
##C257C81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACC
Deuteranopia (green-blind)
#6C87C5
Tritanopia (blue-blind)
#C66687
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c257c8;
/* rgb */ color: rgb(194, 87, 200);
/* oklch */ color: oklch(63.2% 0.193 325.5);
Tailwind
colors: {
  custom: {
    50: '#d78cd9',
    500: '#c257c8',
    950: '#000000',
  },
}
SCSS
$custom: #c257c8;
$custom-light: #d78cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#c257c8",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 296.814,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63232,
    "c": 0.19341,
    "h": 325.5
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#C257C8
secondary
#A9D5A6
accent
#DA4E55
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C257C8

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

Preview Lab → · Contrast checker → · Palette generator →

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