#745AAA#745AAA

#745AAA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.0% C 0.124 H 297.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#745AAA
RGBrgb(116, 90, 170)
HSLhsl(260, 32%, 51%)
HSVhsv(260, 47%, 67%)
CMYKcmyk(31.8%, 47.1%, 0%, 33.3%)
CIE-LABlab(44.13, 28.55, -39.28)
CIE-LCHlch(44.13, 48.56, 306.02°)
OKLaboklab(52.99% 0.0562 -0.1104)
OKLCHoklch(52.99% 0.124 297)
XYZxyz(18.1126, 13.9274, 39.7564)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AAA #90AA5A
analogous
#5A68AA #745AAA #9C5AAA
triadic
#745AAA #AA745A #5AAA74
tetradic
#745AAA #AA5A68 #90AA5A #5AAA9C
square
#745AAA #AA5A68 #90AA5A #5AAA9C
split-complementary
#745AAA #AA9C5A #68AA5A
monochromatic
#3D2F5B #584483 #745AAA #9682BF #B8ABD4

Accessibility & contrast

On white

5.55
#745AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#745AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AAA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AAA#FFFFFF#000000##FFFFFF
##745AAA1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#4667A8
Tritanopia (blue-blind)
#68697A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #745aaa;
/* rgb */ color: rgb(116, 90, 170);
/* oklch */ color: oklch(53.0% 0.124 297.0);
Tailwind
colors: {
  custom: {
    50: '#9e89c4',
    500: '#745aaa',
    950: '#000000',
  },
}
SCSS
$custom: #745aaa;
$custom-light: #9e89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#745aaa",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 259.5,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.12389,
    "h": 297
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#745AAA
secondary
#B6C29E
accent
#C860A6
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0F0B12
muted
#7E7C81

Preview Lab

Preview with #745AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#745AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva