#9145E1#9145E1

#9145E1 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.225 H 301.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9145E1
RGBrgb(145, 69, 225)
HSLhsl(269, 72%, 58%)
HSVhsv(269, 69%, 88%)
CMYKcmyk(35.6%, 69.3%, 0%, 11.8%)
CIE-LABlab(46.59, 60.47, -66.97)
CIE-LCHlch(46.59, 90.23, 312.08°)
OKLaboklab(56.64% 0.1186 -0.1907)
OKLCHoklch(56.64% 0.225 301.9)
XYZxyz(27.3925, 15.7121, 72.8092)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145E1 #95E145
analogous
#4547E1 #9145E1 #DF45E1
triadic
#9145E1 #E19145 #45E191
tetradic
#9145E1 #E14547 #95E145 #45E1DF
square
#9145E1 #E14547 #95E145 #45E1DF
split-complementary
#9145E1 #E1DF45 #47E145
monochromatic
#541894 #7220C8 #9145E1 #B07AE9 #CFAEF2

Accessibility & contrast

On white

5.07
#9145E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9145E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145E1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145E1#FFFFFF#000000##FFFFFF
##9145E11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#806A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9145e1;
/* rgb */ color: rgb(145, 69, 225);
/* oklch */ color: oklch(56.6% 0.225 301.9);
Tailwind
colors: {
  custom: {
    50: '#b77eeb',
    500: '#9145e1',
    950: '#000000',
  },
}
SCSS
$custom: #9145e1;
$custom-light: #b77eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#9145e1",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 269.231,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.22461,
    "h": 301.9
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

primary
#9145E1
secondary
#C2E0A2
accent
#EF3996
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9145E1

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

Preview Lab → · Contrast checker → · Palette generator →

#9145E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva