#9156CF#9156CF

#9156CF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.182 H 303.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9156CF
RGBrgb(145, 86, 207)
HSLhsl(269, 56%, 57%)
HSVhsv(269, 58%, 81%)
CMYKcmyk(30%, 58.5%, 0%, 18.8%)
CIE-LABlab(48.49, 47.71, -53.65)
CIE-LCHlch(48.49, 71.80, 311.65°)
OKLaboklab(57.62% 0.1011 -0.1517)
OKLCHoklch(57.62% 0.182 303.7)
XYZxyz(26.2648, 17.1804, 60.9518)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156CF #94CF56
analogous
#5658CF #9156CF #CD56CF
triadic
#9156CF #CF9156 #56CF91
tetradic
#9156CF #CF5658 #94CF56 #56CFCD
square
#9156CF #CF5658 #94CF56 #56CFCD
split-complementary
#9156CF #CFCD56 #58CF56
monochromatic
#542685 #7233B5 #9156CF #B086DD #CFB5EA

Accessibility & contrast

On white

4.73
#9156CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9156CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9156CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156CF#FFFFFF#000000##FFFFFF
##9156CF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#866E8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9156cf;
/* rgb */ color: rgb(145, 86, 207);
/* oklch */ color: oklch(57.6% 0.182 303.7);
Tailwind
colors: {
  custom: {
    50: '#b588de',
    500: '#9156cf',
    950: '#000000',
  },
}
SCSS
$custom: #9156cf;
$custom-light: #b588de;
$custom-dark: #000000;
JSON
{
  "hex": "#9156cf",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 269.256,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.18225,
    "h": 303.7
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#9156CF
secondary
#C1D9A8
accent
#DF4996
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9156CF

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

Preview Lab → · Contrast checker → · Palette generator →

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