#9045CB#9045CB

#9045CB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.201 H 306.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9045CB
RGBrgb(144, 69, 203)
HSLhsl(274, 56%, 53%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(29.1%, 66%, 0%, 20.4%)
CIE-LABlab(44.94, 55.14, -57.06)
CIE-LCHlch(44.94, 79.35, 314.02°)
OKLaboklab(54.94% 0.12 -0.1616)
OKLCHoklch(54.94% 0.201 306.6)
XYZxyz(24.4069, 14.4976, 58.0009)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045CB #80CB45
analogous
#4D45CB #9045CB #CB45C3
triadic
#9045CB #CB9045 #45CB90
tetradic
#9045CB #CB4D45 #80CB45 #45C3CB
square
#9045CB #CB4D45 #80CB45 #45C3CB
split-complementary
#9045CB #C3CB45 #45CB4D
monochromatic
#502175 #702EA5 #9045CB #AD75D8 #C9A5E6

Accessibility & contrast

On white

5.39
#9045CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9045CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045CB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045CB#FFFFFF#000000##FFFFFF
##9045CB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#866282
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9045cb;
/* rgb */ color: rgb(144, 69, 203);
/* oklch */ color: oklch(54.9% 0.201 306.6);
Tailwind
colors: {
  custom: {
    50: '#b57edc',
    500: '#9045cb',
    950: '#000000',
  },
}
SCSS
$custom: #9045cb;
$custom-light: #b57edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9045cb",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 273.582,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54943,
    "c": 0.20132,
    "h": 306.6
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#9045CB
secondary
#B2D399
accent
#E0488B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045CB

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

Preview Lab → · Contrast checker → · Palette generator →

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