#9045E2#9045E2

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

Color values

HEX#9045E2
RGBrgb(144, 69, 226)
HSLhsl(269, 73%, 58%)
HSVhsv(269, 69%, 89%)
CMYKcmyk(36.3%, 69.5%, 0%, 11.4%)
CIE-LABlab(46.55, 60.51, -67.62)
CIE-LCHlch(46.55, 90.75, 311.83°)
OKLaboklab(56.6% 0.1171 -0.1927)
OKLCHoklch(56.6% 0.225 301.3)
XYZxyz(27.3539, 15.6764, 73.5215)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045E2 #97E245
analogous
#4549E2 #9045E2 #DE45E2
triadic
#9045E2 #E29045 #45E290
tetradic
#9045E2 #E24549 #97E245 #45E2DE
square
#9045E2 #E24549 #97E245 #45E2DE
split-complementary
#9045E2 #E2DE45 #49E245
monochromatic
#531795 #7120CA #9045E2 #B07AEA #CFAFF3

Accessibility & contrast

On white

5.08
#9045E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9045E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045E2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045E2#FFFFFF#000000##FFFFFF
##9045E21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#7E6B8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9045e2;
/* rgb */ color: rgb(144, 69, 226);
/* oklch */ color: oklch(56.6% 0.225 301.3);
Tailwind
colors: {
  custom: {
    50: '#b77eec',
    500: '#9045e2',
    950: '#000000',
  },
}
SCSS
$custom: #9045e2;
$custom-light: #b77eec;
$custom-dark: #000000;
JSON
{
  "hex": "#9045e2",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 268.662,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.22548,
    "h": 301.3
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

primary
#9045E2
secondary
#C3E1A2
accent
#F03898
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9045E2

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

Preview Lab → · Contrast checker → · Palette generator →

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