#9045DB#9045DB

#9045DB is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.218 H 302.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9045DB
RGBrgb(144, 69, 219)
HSLhsl(270, 68%, 56%)
HSVhsv(270, 68%, 86%)
CMYKcmyk(34.2%, 68.5%, 0%, 14.1%)
CIE-LABlab(46.04, 58.86, -64.46)
CIE-LCHlch(46.04, 87.29, 312.40°)
OKLaboklab(56.08% 0.1181 -0.1834)
OKLCHoklch(56.08% 0.218 302.8)
XYZxyz(26.4129, 15.3000, 68.5658)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045DB #90DB45
analogous
#4545DB #9045DB #DB45DB
triadic
#9045DB #DB9045 #45DB90
tetradic
#9045DB #DB4545 #90DB45 #45DBDB
square
#9045DB #DB4545 #90DB45 #45DBDB
split-complementary
#9045DB #DBDB45 #45DB45
monochromatic
#531B8B #7125BE #9045DB #AF78E5 #CDACEF

Accessibility & contrast

On white

5.17
#9045DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9045DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045DB#FFFFFF#000000##FFFFFF
##9045DB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#81688B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9045db;
/* rgb */ color: rgb(144, 69, 219);
/* oklch */ color: oklch(56.1% 0.218 302.8);
Tailwind
colors: {
  custom: {
    50: '#b67ee7',
    500: '#9045db',
    950: '#000000',
  },
}
SCSS
$custom: #9045db;
$custom-light: #b67ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#9045db",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.21815,
    "h": 302.8
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

primary
#9045DB
secondary
#BEDD9F
accent
#EA3D94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9045DB

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

Preview Lab → · Contrast checker → · Palette generator →

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