#9145CD#9145CD

#9145CD is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.204 H 306.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9145CD
RGBrgb(145, 69, 205)
HSLhsl(274, 58%, 54%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(29.3%, 66.3%, 0%, 19.6%)
CIE-LABlab(45.20, 55.81, -57.79)
CIE-LCHlch(45.20, 80.34, 314.00°)
OKLaboklab(55.2% 0.1211 -0.1638)
OKLCHoklch(55.2% 0.204 306.5)
XYZxyz(24.8223, 14.6840, 59.2724)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145CD #81CD45
analogous
#4D45CD #9145CD #CD45C5
triadic
#9145CD #CD9145 #45CD91
tetradic
#9145CD #CD4D45 #81CD45 #45C5CD
square
#9145CD #CD4D45 #81CD45 #45C5CD
split-complementary
#9145CD #C5CD45 #45CD4D
monochromatic
#512077 #722DA8 #9145CD #AE75DA #CAA5E7

Accessibility & contrast

On white

5.33
#9145CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9145CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145CD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145CD#FFFFFF#000000##FFFFFF
##9145CD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#876283
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9145cd;
/* rgb */ color: rgb(145, 69, 205);
/* oklch */ color: oklch(55.2% 0.204 306.5);
Tailwind
colors: {
  custom: {
    50: '#b67edd',
    500: '#9145cd',
    950: '#000000',
  },
}
SCSS
$custom: #9145cd;
$custom-light: #b67edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9145cd",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 273.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.552,
    "c": 0.20369,
    "h": 306.5
  },
  "luminance": 0.14684
}

Semantic roles & 50–950 ramp

primary
#9145CD
secondary
#B3D49A
accent
#E1478B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145CD

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

Preview Lab → · Contrast checker → · Palette generator →

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