#9745D1#9745D1

#9745D1 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.209 H 307.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9745D1
RGBrgb(151, 69, 209)
HSLhsl(275, 60%, 55%)
HSVhsv(275, 67%, 82%)
CMYKcmyk(27.8%, 67%, 0%, 18%)
CIE-LABlab(46.23, 57.98, -58.39)
CIE-LCHlch(46.23, 82.29, 314.80°)
OKLaboklab(56.19% 0.1286 -0.1653)
OKLCHoklch(56.19% 0.209 307.9)
XYZxyz(26.3969, 15.4394, 61.8987)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745D1 #7FD145
analogous
#5145D1 #9745D1 #D145C5
triadic
#9745D1 #D19745 #45D197
tetradic
#9745D1 #D15145 #7FD145 #45C5D1
square
#9745D1 #D15145 #7FD145 #45C5D1
split-complementary
#9745D1 #C5D145 #45D151
monochromatic
#561F7D #782BAE #9745D1 #B276DD #CEA7E9

Accessibility & contrast

On white

5.14
#9745D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9745D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745D1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745D1#FFFFFF#000000##FFFFFF
##9745D11.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#266ECE
Tritanopia (blue-blind)
#8E6385
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9745d1;
/* rgb */ color: rgb(151, 69, 209);
/* oklch */ color: oklch(56.2% 0.209 307.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ee0',
    500: '#9745d1',
    950: '#000000',
  },
}
SCSS
$custom: #9745d1;
$custom-light: #ba7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#9745d1",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 275.143,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.20945,
    "h": 307.9
  },
  "luminance": 0.15439
}

Semantic roles & 50–950 ramp

primary
#9745D1
secondary
#B4D79B
accent
#E34486
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9745D1

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

Preview Lab → · Contrast checker → · Palette generator →

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