#9745BE#9745BE

#9745BE is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.190 H 313.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9745BE
RGBrgb(151, 69, 190)
HSLhsl(281, 48%, 51%)
HSVhsv(281, 64%, 75%)
CMYKcmyk(20.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(45.02, 53.83, -49.35)
CIE-LCHlch(45.02, 73.02, 317.49°)
OKLaboklab(54.93% 0.1299 -0.1388)
OKLCHoklch(54.93% 0.19 313.1)
XYZxyz(24.1833, 14.5539, 50.2405)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745BE #6CBE45
analogous
#5A45BE #9745BE #BE45A8
triadic
#9745BE #BE9745 #45BE97
tetradic
#9745BE #BE5A45 #6CBE45 #45A8BE
square
#9745BE #BE5A45 #6CBE45 #45A8BE
split-complementary
#9745BE #A8BE45 #45BE5A
monochromatic
#502365 #743393 #9745BE #B072CE #CAA0DE

Accessibility & contrast

On white

5.37
#9745BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9745BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745BE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745BE#FFFFFF#000000##FFFFFF
##9745BE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#3E6CBB
Tritanopia (blue-blind)
#935C7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9745be;
/* rgb */ color: rgb(151, 69, 190);
/* oklch */ color: oklch(54.9% 0.190 313.1);
Tailwind
colors: {
  custom: {
    50: '#b97ed2',
    500: '#9745be',
    950: '#000000',
  },
}
SCSS
$custom: #9745be;
$custom-light: #b97ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9745be",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 280.661,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.19006,
    "h": 313.1
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#9745BE
secondary
#A6CA95
accent
#D8507C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9745BE

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

Preview Lab → · Contrast checker → · Palette generator →

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