#9745D9#9745D9

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

Color values

HEX#9745D9
RGBrgb(151, 69, 217)
HSLhsl(273, 66%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.4%, 68.2%, 0%, 14.9%)
CIE-LABlab(46.77, 59.78, -62.09)
CIE-LCHlch(46.77, 86.20, 313.91°)
OKLaboklab(56.75% 0.1277 -0.1762)
OKLCHoklch(56.75% 0.218 305.9)
XYZxyz(27.4123, 15.8455, 67.2466)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D9 #87D945
analogous
#4D45D9 #9745D9 #D945D1
triadic
#9745D9 #D99745 #45D997
tetradic
#9745D9 #D94D45 #87D945 #45D1D9
square
#9745D9 #D94D45 #87D945 #45D1D9
split-complementary
#9745D9 #D1D945 #45D94D
monochromatic
#581C88 #7826BB #9745D9 #B378E3 #D0ABEE

Accessibility & contrast

On white

5.04
#9745D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9745D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D9#FFFFFF#000000##FFFFFF
##9745D91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#136FD6
Tritanopia (blue-blind)
#8B668A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9745d9;
/* rgb */ color: rgb(151, 69, 217);
/* oklch */ color: oklch(56.7% 0.218 305.9);
Tailwind
colors: {
  custom: {
    50: '#bb7fe6',
    500: '#9745d9',
    950: '#000000',
  },
}
SCSS
$custom: #9745d9;
$custom-light: #bb7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d9",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 273.243,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56748,
    "c": 0.21762,
    "h": 305.9
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#9745D9
secondary
#BADB9E
accent
#E93F8B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9745D9

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

Preview Lab → · Contrast checker → · Palette generator →

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