#9159CD#9159CD

#9159CD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.175 H 303.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9159CD
RGBrgb(145, 89, 205)
HSLhsl(269, 54%, 58%)
HSVhsv(269, 57%, 80%)
CMYKcmyk(29.3%, 56.6%, 0%, 19.6%)
CIE-LABlab(48.97, 45.62, -51.72)
CIE-LCHlch(48.97, 68.97, 311.42°)
OKLaboklab(57.94% 0.0973 -0.146)
OKLCHoklch(57.94% 0.175 303.7)
XYZxyz(26.2664, 17.5723, 59.7538)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159CD #95CD59
analogous
#595BCD #9159CD #CB59CD
triadic
#9159CD #CD9159 #59CD91
tetradic
#9159CD #CD595B #95CD59 #59CDCB
square
#9159CD #CD595B #95CD59 #59CDCB
split-complementary
#9159CD #CDCB59 #5BCD59
monochromatic
#542884 #7236B3 #9159CD #B088DB #CFB7E9

Accessibility & contrast

On white

4.65
#9159CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9159CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9159CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159CD#FFFFFF#000000##FFFFFF
##9159CD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#86708A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9159cd;
/* rgb */ color: rgb(145, 89, 205);
/* oklch */ color: oklch(57.9% 0.175 303.7);
Tailwind
colors: {
  custom: {
    50: '#b58add',
    500: '#9159cd',
    950: '#000000',
  },
}
SCSS
$custom: #9159cd;
$custom-light: #b58add;
$custom-dark: #000000;
JSON
{
  "hex": "#9159cd",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 268.966,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.17547,
    "h": 303.7
  },
  "luminance": 0.17572
}

Semantic roles & 50–950 ramp

primary
#9159CD
secondary
#C2D8AA
accent
#DD4B96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9159CD

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

Preview Lab → · Contrast checker → · Palette generator →

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