#9159DE#9159DE

#9159DE is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.0% C 0.195 H 299.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9159DE
RGBrgb(145, 89, 222)
HSLhsl(265, 67%, 61%)
HSVhsv(265, 60%, 87%)
CMYKcmyk(34.7%, 59.9%, 0%, 12.9%)
CIE-LABlab(50.02, 49.81, -59.72)
CIE-LCHlch(50.02, 77.77, 309.83°)
OKLaboklab(59.05% 0.0972 -0.1695)
OKLCHoklch(59.05% 0.195 299.8)
XYZxyz(28.4310, 18.4382, 71.1541)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159DE #A6DE59
analogous
#5963DE #9159DE #D359DE
triadic
#9159DE #DE9159 #59DE91
tetradic
#9159DE #DE5963 #A6DE59 #59DED3
square
#9159DE #DE5963 #A6DE59 #59DED3
split-complementary
#9159DE #DED359 #63DE59
monochromatic
#541F9D #7029D0 #9159DE #B38CE8 #D5BFF2

Accessibility & contrast

On white

4.48
#9159DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9159DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9159DE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159DE#FFFFFF#000000##000000
##9159DE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#2A76DB
Tritanopia (blue-blind)
#807593
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9159de;
/* rgb */ color: rgb(145, 89, 222);
/* oklch */ color: oklch(59.0% 0.195 299.8);
Tailwind
colors: {
  custom: {
    50: '#b68ae9',
    500: '#9159de',
    950: '#000000',
  },
}
SCSS
$custom: #9159de;
$custom-light: #b68ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#9159de",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 265.263,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.19538,
    "h": 299.8
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

primary
#9159DE
secondary
#CDE2B0
accent
#CF1781
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9159DE

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

Preview Lab → · Contrast checker → · Palette generator →

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