#9045E1#9045E1

#9045E1 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.224 H 301.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9045E1
RGBrgb(144, 69, 225)
HSLhsl(269, 72%, 58%)
HSVhsv(269, 69%, 88%)
CMYKcmyk(36%, 69.3%, 0%, 11.8%)
CIE-LABlab(46.47, 60.28, -67.17)
CIE-LCHlch(46.47, 90.25, 311.90°)
OKLaboklab(56.53% 0.1172 -0.1914)
OKLCHoklch(56.53% 0.224 301.5)
XYZxyz(27.2171, 15.6216, 72.8009)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045E1 #96E145
analogous
#4548E1 #9045E1 #DE45E1
triadic
#9045E1 #E19045 #45E190
tetradic
#9045E1 #E14548 #96E145 #45E1DE
square
#9045E1 #E14548 #96E145 #45E1DE
split-complementary
#9045E1 #E1DE45 #48E145
monochromatic
#531894 #7120C8 #9045E1 #AF7AE9 #CFAEF2

Accessibility & contrast

On white

5.09
#9045E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9045E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045E1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045E1#FFFFFF#000000##FFFFFF
##9045E11.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#7F6A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9045e1;
/* rgb */ color: rgb(144, 69, 225);
/* oklch */ color: oklch(56.5% 0.224 301.5);
Tailwind
colors: {
  custom: {
    50: '#b67eeb',
    500: '#9045e1',
    950: '#000000',
  },
}
SCSS
$custom: #9045e1;
$custom-light: #b67eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#9045e1",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 268.846,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.22444,
    "h": 301.5
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9045E1

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

Preview Lab → · Contrast checker → · Palette generator →

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