#745ACA#745ACA

#745ACA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.0% C 0.167 H 290.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#745ACA
RGBrgb(116, 90, 202)
HSLhsl(254, 51%, 57%)
HSVhsv(254, 55%, 79%)
CMYKcmyk(42.6%, 55.4%, 0%, 20.8%)
CIE-LABlab(46.03, 37.37, -54.89)
CIE-LCHlch(46.03, 66.40, 304.25°)
OKLaboklab(55.02% 0.0586 -0.1562)
OKLCHoklch(55.02% 0.167 290.5)
XYZxyz(21.5163, 15.2889, 57.6831)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745ACA #B0CA5A
analogous
#5A78CA #745ACA #AC5ACA
triadic
#745ACA #CA745A #5ACA74
tetradic
#745ACA #CA5A78 #B0CA5A #5ACAAC
square
#745ACA #CA5A78 #B0CA5A #5ACAAC
split-complementary
#745ACA #CAAC5A #78CA5A
monochromatic
#3D2980 #5438AF #745ACA #9B88D9 #C2B7E8

Accessibility & contrast

On white

5.17
#745ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#745ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745ACA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745ACA#FFFFFF#000000##FFFFFF
##745ACA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6FCE
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#5C7289
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #745aca;
/* rgb */ color: rgb(116, 90, 202);
/* oklch */ color: oklch(55.0% 0.167 290.5);
Tailwind
colors: {
  custom: {
    50: '#a189db',
    500: '#745aca',
    950: '#000000',
  },
}
SCSS
$custom: #745aca;
$custom-light: #a189db;
$custom-dark: #000000;
JSON
{
  "hex": "#745aca",
  "rgb": {
    "r": 116,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 253.929,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.1668,
    "h": 290.5
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

primary
#745ACA
secondary
#CCD7A9
accent
#DB4DBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #745ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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