#745FCA#745FCA

#745FCA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.160 H 289.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#745FCA
RGBrgb(116, 95, 202)
HSLhsl(252, 50%, 58%)
HSVhsv(252, 53%, 79%)
CMYKcmyk(42.6%, 53%, 0%, 20.8%)
CIE-LABlab(47.18, 34.42, -53.03)
CIE-LCHlch(47.18, 63.22, 302.99°)
OKLaboklab(55.88% 0.0525 -0.1507)
OKLCHoklch(55.88% 0.16 289.2)
XYZxyz(21.9524, 16.1609, 57.8284)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FCA #B5CA5F
analogous
#5F7FCA #745FCA #AA5FCA
triadic
#745FCA #CA745F #5FCA74
tetradic
#745FCA #CA5F7F #B5CA5F #5FCAAA
square
#745FCA #CA5F7F #B5CA5F #5FCAAA
split-complementary
#745FCA #CAAA5F #7FCA5F
monochromatic
#3D2B83 #523BB1 #745FCA #9C8DD9 #C4BBE8

Accessibility & contrast

On white

4.96
#745FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#745FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FCA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FCA#FFFFFF#000000##FFFFFF
##745FCA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#2F6DC8
Tritanopia (blue-blind)
#5B768B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #745fca;
/* rgb */ color: rgb(116, 95, 202);
/* oklch */ color: oklch(55.9% 0.160 289.2);
Tailwind
colors: {
  custom: {
    50: '#a18ddb',
    500: '#745fca',
    950: '#000000',
  },
}
SCSS
$custom: #745fca;
$custom-light: #a18ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#745fca",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 251.776,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.1596,
    "h": 289.2
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#745FCA
secondary
#CFD8AD
accent
#DA4EBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #745FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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