#C257F5#C257F5

#C257F5 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.8% C 0.235 H 312.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C257F5
RGBrgb(194, 87, 245)
HSLhsl(281, 89%, 65%)
HSVhsv(281, 64%, 96%)
CMYKcmyk(20.8%, 64.5%, 0%, 3.9%)
CIE-LABlab(56.96, 66.77, -61.18)
CIE-LCHlch(56.96, 90.56, 317.50°)
OKLaboklab(65.8% 0.1603 -0.1723)
OKLCHoklch(65.8% 0.235 312.9)
XYZxyz(42.1349, 24.8795, 88.9512)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257F5 #8AF557
analogous
#7357F5 #C257F5 #F557D9
triadic
#C257F5 #F5C257 #57F5C2
tetradic
#C257F5 #F57357 #8AF557 #57D9F5
square
#C257F5 #F57357 #8AF557 #57D9F5
split-complementary
#C257F5 #D9F557 #57F573
monochromatic
#8A0CC6 #AD1DF2 #C257F5 #D791F8 #ECCBFC

Accessibility & contrast

On white

3.51
#C257F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C257F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257F5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257F5#FFFFFF#000000##000000
##C257F51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#4C8BF1
Tritanopia (blue-blind)
#BD769F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c257f5;
/* rgb */ color: rgb(194, 87, 245);
/* oklch */ color: oklch(65.8% 0.235 312.9);
Tailwind
colors: {
  custom: {
    50: '#d88df9',
    500: '#c257f5',
    950: '#000000',
  },
}
SCSS
$custom: #c257f5;
$custom-light: #d88df9;
$custom-dark: #000000;
JSON
{
  "hex": "#c257f5",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 280.633,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65799,
    "c": 0.23528,
    "h": 312.9
  },
  "luminance": 0.24878
}

Semantic roles & 50–950 ramp

primary
#C257F5
secondary
#CAEFB9
accent
#E5004A
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C257F5

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

Preview Lab → · Contrast checker → · Palette generator →

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