#9745E1#9745E1

#9745E1 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.226 H 304.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9745E1
RGBrgb(151, 69, 225)
HSLhsl(272, 72%, 58%)
HSVhsv(272, 69%, 88%)
CMYKcmyk(32.9%, 69.3%, 0%, 11.8%)
CIE-LABlab(47.33, 61.60, -65.75)
CIE-LCHlch(47.33, 90.10, 313.14°)
OKLaboklab(57.32% 0.1266 -0.1869)
OKLCHoklch(57.32% 0.226 304.1)
XYZxyz(28.4781, 16.2719, 72.8601)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745E1 #8FE145
analogous
#4945E1 #9745E1 #E145DD
triadic
#9745E1 #E19745 #45E197
tetradic
#9745E1 #E14945 #8FE145 #45DDE1
square
#9745E1 #E14945 #8FE145 #45DDE1
split-complementary
#9745E1 #DDE145 #45E149
monochromatic
#591894 #7920C8 #9745E1 #B47AE9 #D2AEF2

Accessibility & contrast

On white

4.94
#9745E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9745E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745E1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745E1#FFFFFF#000000##FFFFFF
##9745E11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#89698E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9745e1;
/* rgb */ color: rgb(151, 69, 225);
/* oklch */ color: oklch(57.3% 0.226 304.1);
Tailwind
colors: {
  custom: {
    50: '#bb7feb',
    500: '#9745e1',
    950: '#000000',
  },
}
SCSS
$custom: #9745e1;
$custom-light: #bb7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#9745e1",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 271.538,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57323,
    "c": 0.22579,
    "h": 304.1
  },
  "luminance": 0.16272
}

Semantic roles & 50–950 ramp

primary
#9745E1
secondary
#BFE0A2
accent
#EF398F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9745E1

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

Preview Lab → · Contrast checker → · Palette generator →

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