#C257DF#C257DF

#C257DF is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.214 H 318.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C257DF
RGBrgb(194, 87, 223)
HSLhsl(287, 68%, 61%)
HSVhsv(287, 61%, 87%)
CMYKcmyk(13%, 61%, 0%, 12.5%)
CIE-LABlab(55.70, 62.41, -50.87)
CIE-LCHlch(55.70, 80.51, 320.82°)
OKLaboklab(64.49% 0.1606 -0.1421)
OKLCHoklch(64.49% 0.214 318.5)
XYZxyz(38.9738, 23.6151, 72.3029)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257DF #74DF57
analogous
#7E57DF #C257DF #DF57B8
triadic
#C257DF #DFC257 #57DFC2
tetradic
#C257DF #DF7E57 #74DF57 #57B8DF
square
#C257DF #DF7E57 #74DF57 #57B8DF
split-complementary
#C257DF #B8DF57 #57DF7E
monochromatic
#821E9E #AD28D1 #C257DF #D58AE9 #E7BEF3

Accessibility & contrast

On white

3.67
#C257DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C257DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257DF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257DF#FFFFFF#000000##000000
##C257DF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#5E89DC
Tritanopia (blue-blind)
#C26E93
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c257df;
/* rgb */ color: rgb(194, 87, 223);
/* oklch */ color: oklch(64.5% 0.214 318.5);
Tailwind
colors: {
  custom: {
    50: '#d88ce9',
    500: '#c257df',
    950: '#000000',
  },
}
SCSS
$custom: #c257df;
$custom-light: #d88ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#c257df",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 287.206,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64486,
    "c": 0.21446,
    "h": 318.5
  },
  "luminance": 0.23613
}

Semantic roles & 50–950 ramp

primary
#C257DF
secondary
#BAE3AF
accent
#D0163D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C257DF

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

Preview Lab → · Contrast checker → · Palette generator →

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