#C157FE#C157FE

#C157FE is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 66.2% C 0.244 H 310.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C157FE
RGBrgb(193, 87, 254)
HSLhsl(278, 99%, 67%)
HSVhsv(278, 66%, 100%)
CMYKcmyk(24%, 65.7%, 0%, 0.4%)
CIE-LABlab(57.38, 68.41, -65.50)
CIE-LCHlch(57.38, 94.71, 316.24°)
OKLaboklab(66.25% 0.1585 -0.185)
OKLCHoklch(66.25% 0.244 310.6)
XYZxyz(43.2865, 25.3106, 96.3519)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157FE #94FE57
analogous
#6E57FE #C157FE #FE57E7
triadic
#C157FE #FEC157 #57FEC1
tetradic
#C157FE #FE6E57 #94FE57 #57E7FE
square
#C157FE #FE6E57 #94FE57 #57E7FE
split-complementary
#C157FE #E7FE57 #57FE6E
monochromatic
#8A01D9 #AB1AFE #C157FE #D794FE #EED1FF

Accessibility & contrast

On white

3.46
#C157FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C157FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157FE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157FE#FFFFFF#000000##000000
##C157FE1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#408CFA
Tritanopia (blue-blind)
#B97AA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c157fe;
/* rgb */ color: rgb(193, 87, 254);
/* oklch */ color: oklch(66.2% 0.244 310.6);
Tailwind
colors: {
  custom: {
    50: '#d88dff',
    500: '#c157fe',
    950: '#000000',
  },
}
SCSS
$custom: #c157fe;
$custom-light: #d88dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c157fe",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 254
  },
  "hsl": {
    "h": 278.084,
    "s": 98.817,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66248,
    "c": 0.24358,
    "h": 310.6
  },
  "luminance": 0.2531
}

Semantic roles & 50–950 ramp

primary
#C157FE
secondary
#D1F3BE
accent
#E60054
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C157FE

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

Preview Lab → · Contrast checker → · Palette generator →

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