#9745CC#9745CC

#9745CC is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.204 H 309.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9745CC
RGBrgb(151, 69, 204)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26%, 66.2%, 0%, 20%)
CIE-LABlab(45.90, 56.87, -56.04)
CIE-LCHlch(45.90, 79.84, 315.42°)
OKLaboklab(55.85% 0.1291 -0.1584)
OKLCHoklch(55.85% 0.204 309.2)
XYZxyz(25.7875, 15.1956, 58.6896)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745CC #7ACC45
analogous
#5345CC #9745CC #CC45BE
triadic
#9745CC #CC9745 #45CC97
tetradic
#9745CC #CC5345 #7ACC45 #45BECC
square
#9745CC #CC5345 #7ACC45 #45BECC
split-complementary
#9745CC #BECC45 #45CC53
monochromatic
#552076 #772EA6 #9745CC #B275D9 #CDA5E6

Accessibility & contrast

On white

5.20
#9745CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9745CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745CC#FFFFFF#000000##FFFFFF
##9745CC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#8F6183
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9745cc;
/* rgb */ color: rgb(151, 69, 204);
/* oklch */ color: oklch(55.8% 0.204 309.2);
Tailwind
colors: {
  custom: {
    50: '#ba7edc',
    500: '#9745cc',
    950: '#000000',
  },
}
SCSS
$custom: #9745cc;
$custom-light: #ba7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9745cc",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 276.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.20434,
    "h": 309.2
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#9745CC
secondary
#B0D399
accent
#E04884
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745CC

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

Preview Lab → · Contrast checker → · Palette generator →

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