#745AE7#745AE7

#745AE7 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.1% C 0.204 H 286.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#745AE7
RGBrgb(116, 90, 231)
HSLhsl(251, 75%, 63%)
HSVhsv(251, 61%, 91%)
CMYKcmyk(49.8%, 61%, 0%, 9.4%)
CIE-LABlab(48.00, 45.69, -68.22)
CIE-LCHlch(48.00, 82.11, 303.81°)
OKLaboklab(57.1% 0.0579 -0.1954)
OKLCHoklch(57.1% 0.204 286.5)
XYZxyz(25.2782, 16.7936, 77.4954)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745AE7 #CDE75A
analogous
#5A86E7 #745AE7 #BB5AE7
triadic
#745AE7 #E7745A #5AE774
tetradic
#745AE7 #E75A86 #CDE75A #5AE7BB
square
#745AE7 #E75A86 #CDE75A #5AE7BB
split-complementary
#745AE7 #E7BB5A #86E75A
monochromatic
#3519AD #4725DF #745AE7 #A18FEF #CEC5F7

Accessibility & contrast

On white

4.82
#745AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#745AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745AE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745AE7#FFFFFF#000000##FFFFFF
##745AE71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#4A7B98
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #745ae7;
/* rgb */ color: rgb(116, 90, 231);
/* oklch */ color: oklch(57.1% 0.204 286.5);
Tailwind
colors: {
  custom: {
    50: '#a58af0',
    500: '#745ae7',
    950: '#000000',
  },
}
SCSS
$custom: #745ae7;
$custom-light: #a58af0;
$custom-dark: #000000;
JSON
{
  "hex": "#745ae7",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 251.064,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.2038,
    "h": 286.5
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#745AE7
secondary
#DEE8B5
accent
#D70FB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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