#C257EC#C257EC

#C257EC is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.227 H 315.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#C257EC
RGBrgb(194, 87, 236)
HSLhsl(283, 80%, 63%)
HSVhsv(283, 63%, 93%)
CMYKcmyk(17.8%, 63.1%, 0%, 7.5%)
CIE-LABlab(56.43, 64.96, -57.00)
CIE-LCHlch(56.43, 86.42, 318.73°)
OKLaboklab(65.25% 0.1606 -0.16)
OKLCHoklch(65.25% 0.227 315.1)
XYZxyz(40.7942, 24.3432, 81.8904)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C257EC #81EC57
analogous
#7757EC #C257EC #EC57CC
triadic
#C257EC #ECC257 #57ECC2
tetradic
#C257EC #EC7757 #81EC57 #57CCEC
square
#C257EC #EC7757 #81EC57 #57CCEC
split-complementary
#C257EC #CCEC57 #57EC77
monochromatic
#8714B4 #AE20E6 #C257EC #D68EF2 #EAC5F8

Accessibility & contrast

On white

3.58
#C257EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#C257EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C257EC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C257EC#FFFFFF#000000##000000
##C257EC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A81F1
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#BF739A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c257ec;
/* rgb */ color: rgb(194, 87, 236);
/* oklch */ color: oklch(65.2% 0.227 315.1);
Tailwind
colors: {
  custom: {
    50: '#d88df3',
    500: '#c257ec',
    950: '#000000',
  },
}
SCSS
$custom: #c257ec;
$custom-light: #d88df3;
$custom-dark: #000000;
JSON
{
  "hex": "#c257ec",
  "rgb": {
    "r": 194,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 283.087,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65249,
    "c": 0.22671,
    "h": 315.1
  },
  "luminance": 0.24342
}

Semantic roles & 50–950 ramp

primary
#C257EC
secondary
#C4EAB5
accent
#DC0A45
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C257EC

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

Preview Lab → · Contrast checker → · Palette generator →

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