#C159F7#C159F7

#C159F7 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 66.0% C 0.234 H 312.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C159F7
RGBrgb(193, 89, 247)
HSLhsl(279, 91%, 66%)
HSVhsv(279, 64%, 97%)
CMYKcmyk(21.9%, 64%, 0%, 3.1%)
CIE-LABlab(57.27, 66.08, -61.80)
CIE-LCHlch(57.27, 90.47, 316.92°)
OKLaboklab(66.03% 0.1567 -0.1741)
OKLCHoklch(66.03% 0.234 312)
XYZxyz(42.3502, 25.1987, 90.6106)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159F7 #8FF759
analogous
#7259F7 #C159F7 #F759DE
triadic
#C159F7 #F7C159 #59F7C1
tetradic
#C159F7 #F77259 #8FF759 #59DEF7
square
#C159F7 #F77259 #8FF759 #59DEF7
split-complementary
#C159F7 #DEF759 #59F772
monochromatic
#890ACC #AB1FF4 #C159F7 #D793FA #EDCEFD

Accessibility & contrast

On white

3.48
#C159F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#C159F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159F7
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159F7#FFFFFF#000000##000000
##C159F71.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#4B8CF3
Tritanopia (blue-blind)
#BB78A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c159f7;
/* rgb */ color: rgb(193, 89, 247);
/* oklch */ color: oklch(66.0% 0.234 312.0);
Tailwind
colors: {
  custom: {
    50: '#d88efb',
    500: '#c159f7',
    950: '#000000',
  },
}
SCSS
$custom: #c159f7;
$custom-light: #d88efb;
$custom-dark: #000000;
JSON
{
  "hex": "#c159f7",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 279.494,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.23427,
    "h": 312
  },
  "luminance": 0.25198
}

Semantic roles & 50–950 ramp

primary
#C159F7
secondary
#CEF0BC
accent
#E6004E
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C159F7

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

Preview Lab → · Contrast checker → · Palette generator →

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