#745BBB#745BBB

#745BBB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.2% C 0.145 H 292.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#745BBB
RGBrgb(116, 91, 187)
HSLhsl(256, 41%, 55%)
HSVhsv(256, 51%, 73%)
CMYKcmyk(38%, 51.3%, 0%, 26.7%)
CIE-LABlab(45.34, 32.58, -47.31)
CIE-LCHlch(45.34, 57.45, 304.55°)
OKLaboklab(54.21% 0.0566 -0.134)
OKLCHoklch(54.21% 0.145 292.9)
XYZxyz(19.9108, 14.7826, 48.8084)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745BBB #A2BB5B
analogous
#5B72BB #745BBB #A45BBB
triadic
#745BBB #BB745B #5BBB74
tetradic
#745BBB #BB5B72 #A2BB5B #5BBBA4
square
#745BBB #BB5B72 #A2BB5B #5BBBA4
split-complementary
#745BBB #BBA45B #72BB5B
monochromatic
#3E2E6E #574099 #745BBB #9986CD #BDB2DF

Accessibility & contrast

On white

5.31
#745BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#745BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745BBB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745BBB#FFFFFF#000000##FFFFFF
##745BBB1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#626E82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #745bbb;
/* rgb */ color: rgb(116, 91, 187);
/* oklch */ color: oklch(54.2% 0.145 292.9);
Tailwind
colors: {
  custom: {
    50: '#a08ad0',
    500: '#745bbb',
    950: '#000000',
  },
}
SCSS
$custom: #745bbb;
$custom-light: #a08ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#745bbb",
  "rgb": {
    "r": 116,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 255.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.14542,
    "h": 292.9
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#745BBB
secondary
#C3CDA5
accent
#D157B1
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #745BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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