#C257CB#C257CB

#C257CB is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.4% C 0.196 H 324.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C257CB
RGBrgb(194, 87, 203)
HSLhsl(295, 53%, 57%)
HSVhsv(295, 57%, 80%)
CMYKcmyk(4.4%, 57.1%, 0%, 20.4%)
CIE-LABlab(54.66, 58.66, -41.17)
CIE-LCHlch(54.66, 71.66, 324.94°)
OKLaboklab(63.39% 0.1596 -0.1139)
OKLCHoklch(63.39% 0.196 324.5)
XYZxyz(36.4349, 22.5995, 58.9313)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257CB #60CB57
analogous
#8857CB #C257CB #CB579A
triadic
#C257CB #CBC257 #57CBC2
tetradic
#C257CB #CB8857 #60CB57 #579ACB
square
#C257CB #CB8857 #60CB57 #579ACB
split-complementary
#C257CB #9ACB57 #57CB88
monochromatic
#792880 #A536AF #C257CB #D386D9 #E4B4E8

Accessibility & contrast

On white

3.80
#C257CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C257CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257CB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257CB#FFFFFF#000000##000000
##C257CB1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#C66789
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c257cb;
/* rgb */ color: rgb(194, 87, 203);
/* oklch */ color: oklch(63.4% 0.196 324.5);
Tailwind
colors: {
  custom: {
    50: '#d78cdb',
    500: '#c257cb',
    950: '#000000',
  },
}
SCSS
$custom: #c257cb;
$custom-light: #d78cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#c257cb",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 295.345,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63388,
    "c": 0.19609,
    "h": 324.5
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#C257CB
secondary
#ABD7A7
accent
#DC4C57
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C257CB

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

Preview Lab → · Contrast checker → · Palette generator →

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