#9045E8#9045E8

#9045E8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.232 H 300.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9045E8
RGBrgb(144, 69, 232)
HSLhsl(268, 78%, 59%)
HSVhsv(268, 70%, 91%)
CMYKcmyk(37.9%, 70.3%, 0%, 9%)
CIE-LABlab(46.99, 61.94, -70.30)
CIE-LCHlch(46.99, 93.70, 311.38°)
OKLaboklab(57.06% 0.1161 -0.2006)
OKLCHoklch(57.06% 0.232 300.1)
XYZxyz(28.1916, 16.0115, 77.9335)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045E8 #9DE845
analogous
#454CE8 #9045E8 #E145E8
triadic
#9045E8 #E89045 #45E890
tetradic
#9045E8 #E8454C #9DE845 #45E8E1
square
#9045E8 #E8454C #9DE845 #45E8E1
split-complementary
#9045E8 #E8E145 #4CE845
monochromatic
#54149F #701AD5 #9045E8 #B17BEF #D1B2F5

Accessibility & contrast

On white

5.00
#9045E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9045E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045E8#FFFFFF#000000##FFFFFF
##9045E81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#7C6D92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9045e8;
/* rgb */ color: rgb(144, 69, 232);
/* oklch */ color: oklch(57.1% 0.232 300.1);
Tailwind
colors: {
  custom: {
    50: '#b77ff0',
    500: '#9045e8',
    950: '#000000',
  },
}
SCSS
$custom: #9045e8;
$custom-light: #b77ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9045e8",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 267.607,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57055,
    "c": 0.23173,
    "h": 300.1
  },
  "luminance": 0.16012
}

Semantic roles & 50–950 ramp

primary
#9045E8
secondary
#C7E4A4
accent
#F4339C
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #9045E8

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

Preview Lab → · Contrast checker → · Palette generator →

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