#745AEA#745AEA

#745AEA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.3% C 0.208 H 286.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#745AEA
RGBrgb(116, 90, 234)
HSLhsl(251, 77%, 64%)
HSVhsv(251, 62%, 92%)
CMYKcmyk(50.4%, 61.5%, 0%, 8.2%)
CIE-LABlab(48.22, 46.55, -69.56)
CIE-LCHlch(48.22, 83.70, 303.79°)
OKLaboklab(57.32% 0.0577 -0.1993)
OKLCHoklch(57.32% 0.208 286.1)
XYZxyz(25.7055, 16.9646, 79.7460)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AEA #D0EA5A
analogous
#5A88EA #745AEA #BC5AEA
triadic
#745AEA #EA745A #5AEA74
tetradic
#745AEA #EA5A88 #D0EA5A #5AEABC
square
#745AEA #EA5A88 #D0EA5A #5AEABC
split-complementary
#745AEA #EABC5A #88EA5A
monochromatic
#3317B3 #4624E3 #745AEA #A290F1 #CFC7F8

Accessibility & contrast

On white

4.78
#745AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#745AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AEA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AEA#FFFFFF#000000##FFFFFF
##745AEA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#487C9A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745aea;
/* rgb */ color: rgb(116, 90, 234);
/* oklch */ color: oklch(57.3% 0.208 286.1);
Tailwind
colors: {
  custom: {
    50: '#a58af2',
    500: '#745aea',
    950: '#000000',
  },
}
SCSS
$custom: #745aea;
$custom-light: #a58af2;
$custom-dark: #000000;
JSON
{
  "hex": "#745aea",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 250.833,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.20752,
    "h": 286.1
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#745AEA
secondary
#E0E9B6
accent
#DA0CB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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