#9145CE#9145CE

#9145CE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.205 H 306.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9145CE
RGBrgb(145, 69, 206)
HSLhsl(273, 58%, 54%)
HSVhsv(273, 67%, 81%)
CMYKcmyk(29.6%, 66.5%, 0%, 19.2%)
CIE-LABlab(45.27, 56.04, -58.26)
CIE-LCHlch(45.27, 80.84, 313.89°)
OKLaboklab(55.27% 0.121 -0.1651)
OKLCHoklch(55.27% 0.205 306.2)
XYZxyz(24.9434, 14.7325, 59.9102)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145CE #82CE45
analogous
#4D45CE #9145CE #CE45C6
triadic
#9145CE #CE9145 #45CE91
tetradic
#9145CE #CE4D45 #82CE45 #45C6CE
square
#9145CE #CE4D45 #82CE45 #45C6CE
split-complementary
#9145CE #C6CE45 #45CE4D
monochromatic
#512079 #722DA9 #9145CE #AE75DB #CAA6E8

Accessibility & contrast

On white

5.32
#9145CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9145CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145CE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145CE#FFFFFF#000000##FFFFFF
##9145CE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#206CCB
Tritanopia (blue-blind)
#876384
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9145ce;
/* rgb */ color: rgb(145, 69, 206);
/* oklch */ color: oklch(55.3% 0.205 306.2);
Tailwind
colors: {
  custom: {
    50: '#b67ede',
    500: '#9145ce',
    950: '#000000',
  },
}
SCSS
$custom: #9145ce;
$custom-light: #b67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9145ce",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 273.285,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5527,
    "c": 0.20474,
    "h": 306.2
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#9145CE
secondary
#B4D59A
accent
#E2468B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9145CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva