#9745D5#9745D5

#9745D5 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.5% C 0.214 H 306.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9745D5
RGBrgb(151, 69, 213)
HSLhsl(274, 63%, 55%)
HSVhsv(274, 68%, 84%)
CMYKcmyk(29.1%, 67.6%, 0%, 16.5%)
CIE-LABlab(46.50, 58.88, -60.25)
CIE-LCHlch(46.50, 84.24, 314.34°)
OKLaboklab(56.47% 0.1282 -0.1708)
OKLCHoklch(56.47% 0.214 306.9)
XYZxyz(26.8983, 15.6400, 64.5397)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D5 #83D545
analogous
#4F45D5 #9745D5 #D545CB
triadic
#9745D5 #D59745 #45D597
tetradic
#9745D5 #D54F45 #83D545 #45CBD5
square
#9745D5 #D54F45 #83D545 #45CBD5
split-complementary
#9745D5 #CBD545 #45D54F
monochromatic
#571D82 #7829B4 #9745D5 #B377E0 #CFA9EC

Accessibility & contrast

On white

5.09
#9745D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9745D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D5#FFFFFF#000000##FFFFFF
##9745D51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#8D6588
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9745d5;
/* rgb */ color: rgb(151, 69, 213);
/* oklch */ color: oklch(56.5% 0.214 306.9);
Tailwind
colors: {
  custom: {
    50: '#ba7fe3',
    500: '#9745d5',
    950: '#000000',
  },
}
SCSS
$custom: #9745d5;
$custom-light: #ba7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d5",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 274.167,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.21354,
    "h": 306.9
  },
  "luminance": 0.1564
}

Semantic roles & 50–950 ramp

primary
#9745D5
secondary
#B7D99D
accent
#E64288
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9745D5

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

Preview Lab → · Contrast checker → · Palette generator →

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