#9045DE#9045DE

#9045DE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.221 H 302.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9045DE
RGBrgb(144, 69, 222)
HSLhsl(269, 70%, 57%)
HSVhsv(269, 69%, 87%)
CMYKcmyk(35.1%, 68.9%, 0%, 12.9%)
CIE-LABlab(46.26, 59.57, -65.82)
CIE-LCHlch(46.26, 88.77, 312.15°)
OKLaboklab(56.3% 0.1177 -0.1874)
OKLCHoklch(56.3% 0.221 302.1)
XYZxyz(26.8114, 15.4594, 70.6645)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045DE #93DE45
analogous
#4547DE #9045DE #DD45DE
triadic
#9045DE #DE9045 #45DE90
tetradic
#9045DE #DE4547 #93DE45 #45DEDD
square
#9045DE #DE4547 #93DE45 #45DEDD
split-complementary
#9045DE #DEDD45 #47DE45
monochromatic
#53198F #7123C3 #9045DE #AF79E7 #CEADF0

Accessibility & contrast

On white

5.13
#9045DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9045DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045DE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045DE#FFFFFF#000000##FFFFFF
##9045DE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#80698D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9045de;
/* rgb */ color: rgb(144, 69, 222);
/* oklch */ color: oklch(56.3% 0.221 302.1);
Tailwind
colors: {
  custom: {
    50: '#b67ee9',
    500: '#9045de',
    950: '#000000',
  },
}
SCSS
$custom: #9045de;
$custom-light: #b67ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#9045de",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 269.412,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56304,
    "c": 0.2213,
    "h": 302.1
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

primary
#9045DE
secondary
#C0DFA0
accent
#ED3B96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9045DE

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

Preview Lab → · Contrast checker → · Palette generator →

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