#745FA2#745FA2

#745FA2 is a mid, moderate violet. Relative luminance 0.145; OKLCH L 53.5% C 0.104 H 297.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#745FA2
RGBrgb(116, 95, 162)
HSLhsl(259, 26%, 50%)
HSVhsv(259, 41%, 64%)
CMYKcmyk(28.4%, 41.4%, 0%, 36.5%)
CIE-LABlab(44.95, 23.43, -33.26)
CIE-LCHlch(44.95, 40.68, 305.16°)
OKLaboklab(53.48% 0.0477 -0.0929)
OKLCHoklch(53.48% 0.104 297.2)
XYZxyz(17.8147, 14.5059, 36.0368)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FA2 #8DA25F
analogous
#5F6BA2 #745FA2 #955FA2
triadic
#745FA2 #A2745F #5FA274
tetradic
#745FA2 #A25F6B #8DA25F #5FA295
square
#745FA2 #A25F6B #8DA25F #5FA295
split-complementary
#745FA2 #A2955F #6BA25F
monochromatic
#3D3155 #58487C #745FA2 #9686B8 #B7ACCF

Accessibility & contrast

On white

5.38
#745FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#745FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FA2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FA2#FFFFFF#000000##FFFFFF
##745FA21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA5
Deuteranopia (green-blind)
#506AA0
Tritanopia (blue-blind)
#6B6B79
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #745fa2;
/* rgb */ color: rgb(116, 95, 162);
/* oklch */ color: oklch(53.5% 0.104 297.2);
Tailwind
colors: {
  custom: {
    50: '#9e8cbe',
    500: '#745fa2',
    950: '#000000',
  },
}
SCSS
$custom: #745fa2;
$custom-light: #9e8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#745fa2",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 258.806,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53477,
    "c": 0.10445,
    "h": 297.2
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#745FA2
secondary
#B4BD9F
accent
#C365A5
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #745FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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