#C157FF#C157FF

#C157FF is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 66.3% C 0.245 H 310.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C157FF
RGBrgb(193, 87, 255)
HSLhsl(278, 100%, 67%)
HSVhsv(278, 66%, 100%)
CMYKcmyk(24.3%, 65.9%, 0%, 0%)
CIE-LABlab(57.44, 68.62, -65.95)
CIE-LCHlch(57.44, 95.17, 316.13°)
OKLaboklab(66.31% 0.1584 -0.1863)
OKLCHoklch(66.31% 0.245 310.4)
XYZxyz(43.4470, 25.3748, 97.1974)
Luminance0.2537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C157FF #95FF57
analogous
#6D57FF #C157FF #FF57E9
triadic
#C157FF #FFC157 #57FFC1
tetradic
#C157FF #FF6D57 #95FF57 #57E9FF
square
#C157FF #FF6D57 #95FF57 #57E9FF
split-complementary
#C157FF #E9FF57 #57FF6D
monochromatic
#8B00DC #AA1AFF #C157FF #D894FF #EED1FF

Accessibility & contrast

On white

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

On black

6.07
#C157FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C157FF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C157FF#FFFFFF#000000##000000
##C157FF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c157ff;
/* rgb */ color: rgb(193, 87, 255);
/* oklch */ color: oklch(66.3% 0.245 310.4);
Tailwind
colors: {
  custom: {
    50: '#d88dff',
    500: '#c157ff',
    950: '#000000',
  },
}
SCSS
$custom: #c157ff;
$custom-light: #d88dff;
$custom-dark: #000000;
JSON
{
  "hex": "#c157ff",
  "rgb": {
    "r": 193,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 277.857,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66312,
    "c": 0.24454,
    "h": 310.4
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#C157FF
secondary
#D2F4BE
accent
#E60055
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C157FF

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

Preview Lab → · Contrast checker → · Palette generator →

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