#C257F0#C257F0

#C257F0 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.231 H 314.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#C257F0
RGBrgb(194, 87, 240)
HSLhsl(282, 84%, 64%)
HSVhsv(282, 64%, 94%)
CMYKcmyk(19.2%, 63.7%, 0%, 5.9%)
CIE-LABlab(56.66, 65.76, -58.86)
CIE-LCHlch(56.66, 88.26, 318.17°)
OKLaboklab(65.49% 0.1605 -0.1655)
OKLCHoklch(65.49% 0.231 314.1)
XYZxyz(41.3819, 24.5783, 84.9854)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257F0 #85F057
analogous
#7657F0 #C257F0 #F057D2
triadic
#C257F0 #F0C257 #57F0C2
tetradic
#C257F0 #F07657 #85F057 #57D2F0
square
#C257F0 #F07657 #85F057 #57D2F0
split-complementary
#C257F0 #D2F057 #57F076
monochromatic
#8811BC #AE1FEB #C257F0 #D68FF5 #EBC7FA

Accessibility & contrast

On white

3.55
#C257F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#C257F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257F0
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257F0#FFFFFF#000000##000000
##C257F01.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D82F5
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#BE749C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c257f0;
/* rgb */ color: rgb(194, 87, 240);
/* oklch */ color: oklch(65.5% 0.231 314.1);
Tailwind
colors: {
  custom: {
    50: '#d88df6',
    500: '#c257f0',
    950: '#000000',
  },
}
SCSS
$custom: #c257f0;
$custom-light: #d88df6;
$custom-dark: #000000;
JSON
{
  "hex": "#c257f0",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 281.961,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.23051,
    "h": 314.1
  },
  "luminance": 0.24577
}

Semantic roles & 50–950 ramp

primary
#C257F0
secondary
#C7ECB7
accent
#E00547
background
#FDF9FF
surface
#FBF1FE
border
#D4CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C257F0

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

Preview Lab → · Contrast checker → · Palette generator →

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