#9145CC#9145CC

#9145CC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.203 H 306.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9145CC
RGBrgb(145, 69, 204)
HSLhsl(274, 57%, 54%)
HSVhsv(274, 66%, 80%)
CMYKcmyk(28.9%, 66.2%, 0%, 20%)
CIE-LABlab(45.13, 55.58, -57.32)
CIE-LCHlch(45.13, 79.84, 314.12°)
OKLaboklab(55.13% 0.1212 -0.1624)
OKLCHoklch(55.13% 0.203 306.7)
XYZxyz(24.7019, 14.6359, 58.6387)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9145CC #80CC45
analogous
#4D45CC #9145CC #CC45C3
triadic
#9145CC #CC9145 #45CC91
tetradic
#9145CC #CC4D45 #80CC45 #45C3CC
square
#9145CC #CC4D45 #80CC45 #45C3CC
split-complementary
#9145CC #C3CC45 #45CC4D
monochromatic
#512076 #712EA6 #9145CC #AD75D9 #CAA5E6

Accessibility & contrast

On white

5.35
#9145CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9145CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9145CC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9145CC#FFFFFF#000000##FFFFFF
##9145CC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#876283
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9145cc;
/* rgb */ color: rgb(145, 69, 204);
/* oklch */ color: oklch(55.1% 0.203 306.7);
Tailwind
colors: {
  custom: {
    50: '#b67edc',
    500: '#9145cc',
    950: '#000000',
  },
}
SCSS
$custom: #9145cc;
$custom-light: #b67edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9145cc",
  "rgb": {
    "r": 145,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 273.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.20264,
    "h": 306.7
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#9145CC
secondary
#B3D399
accent
#E0488A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9145CC

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

Preview Lab → · Contrast checker → · Palette generator →

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