#9745C8#9745C8

#9745C8 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.200 H 310.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9745C8
RGBrgb(151, 69, 200)
HSLhsl(278, 54%, 53%)
HSVhsv(278, 66%, 78%)
CMYKcmyk(24.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(45.64, 55.99, -54.15)
CIE-LCHlch(45.64, 77.89, 315.96°)
OKLaboklab(55.58% 0.1294 -0.1529)
OKLCHoklch(55.58% 0.2 310.2)
XYZxyz(25.3139, 15.0062, 56.1954)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745C8 #76C845
analogous
#5545C8 #9745C8 #C845B8
triadic
#9745C8 #C89745 #45C897
tetradic
#9745C8 #C85545 #76C845 #45B8C8
square
#9745C8 #C85545 #76C845 #45B8C8
split-complementary
#9745C8 #B8C845 #45C855
monochromatic
#532171 #762FA0 #9745C8 #B174D6 #CCA3E4

Accessibility & contrast

On white

5.25
#9745C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9745C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745C8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745C8#FFFFFF#000000##FFFFFF
##9745C81.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#336DC5
Tritanopia (blue-blind)
#906081
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9745c8;
/* rgb */ color: rgb(151, 69, 200);
/* oklch */ color: oklch(55.6% 0.200 310.2);
Tailwind
colors: {
  custom: {
    50: '#b97ed9',
    500: '#9745c8',
    950: '#000000',
  },
}
SCSS
$custom: #9745c8;
$custom-light: #b97ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9745c8",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 277.557,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.20025,
    "h": 310.2
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#9745C8
secondary
#ADD198
accent
#DE4A81
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745C8

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

Preview Lab → · Contrast checker → · Palette generator →

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