#C159F8#C159F8

#C159F8 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 66.1% C 0.235 H 311.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C159F8
RGBrgb(193, 89, 248)
HSLhsl(279, 92%, 66%)
HSVhsv(279, 64%, 97%)
CMYKcmyk(22.2%, 64.1%, 0%, 2.7%)
CIE-LABlab(57.33, 66.29, -62.25)
CIE-LCHlch(57.33, 90.94, 316.80°)
OKLaboklab(66.1% 0.1567 -0.1755)
OKLCHoklch(66.1% 0.235 311.8)
XYZxyz(42.5049, 25.2606, 91.4254)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C159F8 #90F859
analogous
#7159F8 #C159F8 #F859E0
triadic
#C159F8 #F8C159 #59F8C1
tetradic
#C159F8 #F87159 #90F859 #59E0F8
square
#C159F8 #F87159 #90F859 #59E0F8
split-complementary
#C159F8 #E0F859 #59F871
monochromatic
#8A09CE #AB1EF6 #C159F8 #D794FA #EDCEFD

Accessibility & contrast

On white

3.47
#C159F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C159F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C159F8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C159F8#FFFFFF#000000##000000
##C159F81.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#4A8CF4
Tritanopia (blue-blind)
#BB79A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c159f8;
/* rgb */ color: rgb(193, 89, 248);
/* oklch */ color: oklch(66.1% 0.235 311.8);
Tailwind
colors: {
  custom: {
    50: '#d88efb',
    500: '#c159f8',
    950: '#000000',
  },
}
SCSS
$custom: #c159f8;
$custom-light: #d88efb;
$custom-dark: #000000;
JSON
{
  "hex": "#c159f8",
  "rgb": {
    "r": 193,
    "g": 89,
    "b": 248
  },
  "hsl": {
    "h": 279.245,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66096,
    "c": 0.23524,
    "h": 311.8
  },
  "luminance": 0.2526
}

Semantic roles & 50–950 ramp

primary
#C159F8
secondary
#CEF1BC
accent
#E6004F
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C159F8

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

Preview Lab → · Contrast checker → · Palette generator →

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