#745CEB#745CEB

#745CEB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.7% C 0.206 H 285.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#745CEB
RGBrgb(116, 92, 235)
HSLhsl(250, 78%, 64%)
HSVhsv(250, 61%, 92%)
CMYKcmyk(50.6%, 60.9%, 0%, 7.8%)
CIE-LABlab(48.72, 45.71, -69.31)
CIE-LCHlch(48.72, 83.03, 303.41°)
OKLaboklab(57.71% 0.0556 -0.1986)
OKLCHoklch(57.71% 0.206 285.6)
XYZxyz(26.0205, 17.3641, 80.5617)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745CEB #D3EB5C
analogous
#5C8CEB #745CEB #BC5CEB
triadic
#745CEB #EB745C #5CEB74
tetradic
#745CEB #EB5C8C #D3EB5C #5CEBBC
square
#745CEB #EB5C8C #D3EB5C #5CEBBC
split-complementary
#745CEB #EBBC5C #8CEB5C
monochromatic
#3116B6 #4625E4 #745CEB #A293F2 #D1C9F8

Accessibility & contrast

On white

4.69
#745CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#745CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745CEB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745CEB#FFFFFF#000000##FFFFFF
##745CEB1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#477E9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #745ceb;
/* rgb */ color: rgb(116, 92, 235);
/* oklch */ color: oklch(57.7% 0.206 285.6);
Tailwind
colors: {
  custom: {
    50: '#a58bf2',
    500: '#745ceb',
    950: '#000000',
  },
}
SCSS
$custom: #745ceb;
$custom-light: #a58bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#745ceb",
  "rgb": {
    "r": 116,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 250.07,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.20625,
    "h": 285.6
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#745CEB
secondary
#E2EAB8
accent
#DA0BB8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #745CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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