#745AF6#745AF6

#745AF6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.222 H 284.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#745AF6
RGBrgb(116, 90, 246)
HSLhsl(250, 90%, 66%)
HSVhsv(250, 63%, 96%)
CMYKcmyk(52.8%, 63.4%, 0%, 3.5%)
CIE-LABlab(49.10, 50.04, -74.85)
CIE-LCHlch(49.10, 90.03, 303.76°)
OKLaboklab(58.25% 0.0567 -0.2149)
OKLCHoklch(58.25% 0.222 284.8)
XYZxyz(27.4882, 17.6776, 89.1346)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AF6 #DCF65A
analogous
#5A8EF6 #745AF6 #C25AF6
triadic
#745AF6 #F6745A #5AF674
tetradic
#745AF6 #F65A8E #DCF65A #5AF6C2
square
#745AF6 #F65A8E #DCF65A #5AF6C2
split-complementary
#745AF6 #F6C25A #8EF65A
monochromatic
#2B0BCB #4320F3 #745AF6 #A594F9 #D6CEFC

Accessibility & contrast

On white

4.63
#745AF6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#745AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #745AF6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AF6#FFFFFF#000000##FFFFFF
##745AF61.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#3D80A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #745af6;
/* rgb */ color: rgb(116, 90, 246);
/* oklch */ color: oklch(58.2% 0.222 284.8);
Tailwind
colors: {
  custom: {
    50: '#a68afa',
    500: '#745af6',
    950: '#000000',
  },
}
SCSS
$custom: #745af6;
$custom-light: #a68afa;
$custom-dark: #000000;
JSON
{
  "hex": "#745af6",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 250,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58245,
    "c": 0.22222,
    "h": 284.8
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#745AF6
secondary
#E7F0BC
accent
#E600BF
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #745AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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