#9156DF#9156DF

#9156DF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.201 H 300.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9156DF
RGBrgb(145, 86, 223)
HSLhsl(266, 68%, 61%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(35%, 61.4%, 0%, 12.5%)
CIE-LABlab(49.50, 51.63, -61.14)
CIE-LCHlch(49.50, 80.02, 310.18°)
OKLaboklab(58.68% 0.1006 -0.1736)
OKLCHoklch(58.68% 0.201 300.1)
XYZxyz(28.3209, 18.0028, 71.7806)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156DF #A4DF56
analogous
#5660DF #9156DF #D556DF
triadic
#9156DF #DF9156 #56DF91
tetradic
#9156DF #DF5660 #A4DF56 #56DFD5
square
#9156DF #DF5660 #A4DF56 #56DFD5
split-complementary
#9156DF #DFD556 #60DF56
monochromatic
#541E9D #7027D0 #9156DF #B289E9 #D4BDF2

Accessibility & contrast

On white

4.56
#9156DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9156DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9156DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156DF#FFFFFF#000000##000000
##9156DF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#2275DC
Tritanopia (blue-blind)
#807493
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9156df;
/* rgb */ color: rgb(145, 86, 223);
/* oklch */ color: oklch(58.7% 0.201 300.1);
Tailwind
colors: {
  custom: {
    50: '#b688ea',
    500: '#9156df',
    950: '#000000',
  },
}
SCSS
$custom: #9156df;
$custom-light: #b688ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9156df",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 265.839,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.20069,
    "h": 300.1
  },
  "luminance": 0.18003
}

Semantic roles & 50–950 ramp

primary
#9156DF
secondary
#CCE2AE
accent
#D01580
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9156DF

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

Preview Lab → · Contrast checker → · Palette generator →

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