#C257EF#C257EF

#C257EF is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.230 H 314.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#C257EF
RGBrgb(194, 87, 239)
HSLhsl(282, 83%, 64%)
HSVhsv(282, 64%, 94%)
CMYKcmyk(18.8%, 63.6%, 0%, 6.3%)
CIE-LABlab(56.60, 65.56, -58.40)
CIE-LCHlch(56.60, 87.80, 318.31°)
OKLaboklab(65.43% 0.1605 -0.1641)
OKLCHoklch(65.43% 0.23 314.4)
XYZxyz(41.2337, 24.5190, 84.2052)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257EF #84EF57
analogous
#7657EF #C257EF #EF57D0
triadic
#C257EF #EFC257 #57EFC2
tetradic
#C257EF #EF7657 #84EF57 #57D0EF
square
#C257EF #EF7657 #84EF57 #57D0EF
split-complementary
#C257EF #D0EF57 #57EF76
monochromatic
#8812BA #AE1FEA #C257EF #D68FF4 #EBC7FA

Accessibility & contrast

On white

3.56
#C257EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#C257EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257EF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257EF#FFFFFF#000000##000000
##C257EF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1182F4
Deuteranopia (green-blind)
#528AEB
Tritanopia (blue-blind)
#BE749C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c257ef;
/* rgb */ color: rgb(194, 87, 239);
/* oklch */ color: oklch(65.4% 0.230 314.4);
Tailwind
colors: {
  custom: {
    50: '#d88df5',
    500: '#c257ef',
    950: '#000000',
  },
}
SCSS
$custom: #c257ef;
$custom-light: #d88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#c257ef",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 282.237,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6543,
    "c": 0.22956,
    "h": 314.4
  },
  "luminance": 0.24518
}

Semantic roles & 50–950 ramp

primary
#C257EF
secondary
#C6ECB6
accent
#DF0647
background
#FDF9FF
surface
#FBF1FE
border
#D4CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C257EF

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

Preview Lab → · Contrast checker → · Palette generator →

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