#9159CF#9159CF

#9159CF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.1% C 0.178 H 303.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9159CF
RGBrgb(145, 89, 207)
HSLhsl(268, 55%, 58%)
HSVhsv(268, 57%, 81%)
CMYKcmyk(30%, 57%, 0%, 18.8%)
CIE-LABlab(49.09, 46.11, -52.68)
CIE-LCHlch(49.09, 70.01, 311.20°)
OKLaboklab(58.07% 0.0973 -0.1488)
OKLCHoklch(58.07% 0.178 303.2)
XYZxyz(26.5094, 17.6695, 61.0334)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159CF #97CF59
analogous
#595CCF #9159CF #CC59CF
triadic
#9159CF #CF9159 #59CF91
tetradic
#9159CF #CF595C #97CF59 #59CFCC
square
#9159CF #CF595C #97CF59 #59CFCC
split-complementary
#9159CF #CFCC59 #5CCF59
monochromatic
#542787 #7235B6 #9159CF #B088DD #D0B8EA

Accessibility & contrast

On white

4.63
#9159CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9159CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9159CF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159CF#FFFFFF#000000##FFFFFF
##9159CF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D3
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#85708B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9159cf;
/* rgb */ color: rgb(145, 89, 207);
/* oklch */ color: oklch(58.1% 0.178 303.2);
Tailwind
colors: {
  custom: {
    50: '#b58ade',
    500: '#9159cf',
    950: '#000000',
  },
}
SCSS
$custom: #9159cf;
$custom-light: #b58ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9159cf",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 268.475,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.17782,
    "h": 303.2
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#9159CF
secondary
#C3D9AA
accent
#DE4998
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9159CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9159CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva