#C158F7#C158F7

#C158F7 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.9% C 0.236 H 312.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#C158F7
RGBrgb(193, 88, 247)
HSLhsl(280, 91%, 66%)
HSVhsv(280, 64%, 97%)
CMYKcmyk(21.9%, 64.4%, 0%, 3.1%)
CIE-LABlab(57.11, 66.52, -62.05)
CIE-LCHlch(57.11, 90.97, 316.99°)
OKLaboklab(65.92% 0.1578 -0.1749)
OKLCHoklch(65.92% 0.236 312.1)
XYZxyz(42.2675, 25.0334, 90.5830)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158F7 #8EF758
analogous
#7158F7 #C158F7 #F758DD
triadic
#C158F7 #F7C158 #58F7C1
tetradic
#C158F7 #F77158 #8EF758 #58DDF7
square
#C158F7 #F77158 #8EF758 #58DDF7
split-complementary
#C158F7 #DDF758 #58F771
monochromatic
#890ACB #AB1EF4 #C158F7 #D792FA #ECCDFD

Accessibility & contrast

On white

3.50
#C158F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#C158F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158F7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158F7#FFFFFF#000000##000000
##C158F71.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c158f7;
/* rgb */ color: rgb(193, 88, 247);
/* oklch */ color: oklch(65.9% 0.236 312.1);
Tailwind
colors: {
  custom: {
    50: '#d88efb',
    500: '#c158f7',
    950: '#000000',
  },
}
SCSS
$custom: #c158f7;
$custom-light: #d88efb;
$custom-dark: #000000;
JSON
{
  "hex": "#c158f7",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 279.623,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65918,
    "c": 0.23557,
    "h": 312.1
  },
  "luminance": 0.25032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C158F7

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

Preview Lab → · Contrast checker → · Palette generator →

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