#9159E3#9159E3

#9159E3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.201 H 298.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9159E3
RGBrgb(145, 89, 227)
HSLhsl(264, 71%, 62%)
HSVhsv(264, 61%, 89%)
CMYKcmyk(36.1%, 60.8%, 0%, 11%)
CIE-LABlab(50.35, 51.06, -62.03)
CIE-LCHlch(50.35, 80.34, 309.46°)
OKLaboklab(59.38% 0.097 -0.1763)
OKLCHoklch(59.38% 0.201 298.8)
XYZxyz(29.1111, 18.7102, 74.7359)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159E3 #ABE359
analogous
#5966E3 #9159E3 #D659E3
triadic
#9159E3 #E39159 #59E391
tetradic
#9159E3 #E35966 #ABE359 #59E3D6
square
#9159E3 #E35966 #ABE359 #59E3D6
split-complementary
#9159E3 #E3D659 #66E359
monochromatic
#541CA6 #6E25DA #9159E3 #B48DEC #D6C2F5

Accessibility & contrast

On white

4.43
#9159E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9159E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9159E3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159E3#FFFFFF#000000##000000
##9159E31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#2177E0
Tritanopia (blue-blind)
#7F7796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9159e3;
/* rgb */ color: rgb(145, 89, 227);
/* oklch */ color: oklch(59.4% 0.201 298.8);
Tailwind
colors: {
  custom: {
    50: '#b68aed',
    500: '#9159e3',
    950: '#000000',
  },
}
SCSS
$custom: #9159e3;
$custom-light: #b68aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9159e3",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 264.348,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59384,
    "c": 0.2012,
    "h": 298.8
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#9159E3
secondary
#D1E5B2
accent
#D31285
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9159E3

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

Preview Lab → · Contrast checker → · Palette generator →

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