#9745C5#9745C5

#9745C5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.197 H 311.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9745C5
RGBrgb(151, 69, 197)
HSLhsl(278, 52%, 52%)
HSVhsv(278, 65%, 77%)
CMYKcmyk(23.4%, 65%, 0%, 22.7%)
CIE-LABlab(45.45, 55.34, -52.72)
CIE-LCHlch(45.45, 76.43, 316.39°)
OKLaboklab(55.38% 0.1295 -0.1487)
OKLCHoklch(55.38% 0.197 311.1)
XYZxyz(24.9668, 14.8673, 54.3670)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745C5 #73C545
analogous
#5745C5 #9745C5 #C545B3
triadic
#9745C5 #C59745 #45C597
tetradic
#9745C5 #C55745 #73C545 #45B3C5
square
#9745C5 #C55745 #73C545 #45B3C5
split-complementary
#9745C5 #B3C545 #45C557
monochromatic
#52226D #76319C #9745C5 #B174D4 #CBA2E2

Accessibility & contrast

On white

5.29
#9745C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9745C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745C5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745C5#FFFFFF#000000##FFFFFF
##9745C51.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#376DC2
Tritanopia (blue-blind)
#915F7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9745c5;
/* rgb */ color: rgb(151, 69, 197);
/* oklch */ color: oklch(55.4% 0.197 311.1);
Tailwind
colors: {
  custom: {
    50: '#b97ed7',
    500: '#9745c5',
    950: '#000000',
  },
}
SCSS
$custom: #9745c5;
$custom-light: #b97ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#9745c5",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 278.438,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.19719,
    "h": 311.1
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#9745C5
secondary
#ABCF97
accent
#DC4C80
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9745C5

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

Preview Lab → · Contrast checker → · Palette generator →

#9745C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva