#9745D8#9745D8

#9745D8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.217 H 306.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9745D8
RGBrgb(151, 69, 216)
HSLhsl(273, 65%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.1%, 68.1%, 0%, 15.3%)
CIE-LABlab(46.70, 59.56, -61.63)
CIE-LCHlch(46.70, 85.71, 314.02°)
OKLaboklab(56.68% 0.1278 -0.1749)
OKLCHoklch(56.68% 0.217 306.2)
XYZxyz(27.2826, 15.7937, 66.5636)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D8 #86D845
analogous
#4D45D8 #9745D8 #D845D0
triadic
#9745D8 #D89745 #45D897
tetradic
#9745D8 #D84D45 #86D845 #45D0D8
square
#9745D8 #D84D45 #86D845 #45D0D8
split-complementary
#9745D8 #D0D845 #45D84D
monochromatic
#571C86 #7827B9 #9745D8 #B378E3 #D0AAED

Accessibility & contrast

On white

5.05
#9745D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9745D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D8#FFFFFF#000000##FFFFFF
##9745D81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#8C6689
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9745d8;
/* rgb */ color: rgb(151, 69, 216);
/* oklch */ color: oklch(56.7% 0.217 306.2);
Tailwind
colors: {
  custom: {
    50: '#ba7fe5',
    500: '#9745d8',
    950: '#000000',
  },
}
SCSS
$custom: #9745d8;
$custom-light: #ba7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d8",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 273.469,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.2166,
    "h": 306.2
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#9745D8
secondary
#B9DB9E
accent
#E8408A
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9745D8

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

Preview Lab → · Contrast checker → · Palette generator →

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