#C257F2#C257F2

#C257F2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.232 H 313.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C257F2
RGBrgb(194, 87, 242)
HSLhsl(281, 86%, 65%)
HSVhsv(281, 64%, 95%)
CMYKcmyk(19.8%, 64%, 0%, 5.1%)
CIE-LABlab(56.78, 66.16, -59.79)
CIE-LCHlch(56.78, 89.18, 317.90°)
OKLaboklab(65.61% 0.1604 -0.1682)
OKLCHoklch(65.61% 0.232 313.6)
XYZxyz(41.6806, 24.6978, 86.5587)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257F2 #87F257
analogous
#7557F2 #C257F2 #F257D5
triadic
#C257F2 #F2C257 #57F2C2
tetradic
#C257F2 #F27557 #87F257 #57D5F2
square
#C257F2 #F27557 #87F257 #57D5F2
split-complementary
#C257F2 #D5F257 #57F275
monochromatic
#890FC0 #AD1EEE #C257F2 #D790F6 #EBC9FB

Accessibility & contrast

On white

3.54
#C257F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C257F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257F2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257F2#FFFFFF#000000##000000
##C257F21.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0282F7
Deuteranopia (green-blind)
#4F8BEE
Tritanopia (blue-blind)
#BD759D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c257f2;
/* rgb */ color: rgb(194, 87, 242);
/* oklch */ color: oklch(65.6% 0.232 313.6);
Tailwind
colors: {
  custom: {
    50: '#d88df7',
    500: '#c257f2',
    950: '#000000',
  },
}
SCSS
$custom: #c257f2;
$custom-light: #d88df7;
$custom-dark: #000000;
JSON
{
  "hex": "#c257f2",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 281.419,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65613,
    "c": 0.23241,
    "h": 313.6
  },
  "luminance": 0.24697
}

Semantic roles & 50–950 ramp

primary
#C257F2
secondary
#C8EDB8
accent
#E20348
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C257F2

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

Preview Lab → · Contrast checker → · Palette generator →

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