#745FDB#745FDB

#745FDB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.182 H 286.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#745FDB
RGBrgb(116, 95, 219)
HSLhsl(250, 63%, 62%)
HSVhsv(250, 57%, 86%)
CMYKcmyk(47%, 56.6%, 0%, 14.1%)
CIE-LABlab(48.27, 39.33, -60.99)
CIE-LCHlch(48.27, 72.57, 302.81°)
OKLaboklab(57.04% 0.053 -0.1741)
OKLCHoklch(57.04% 0.182 286.9)
XYZxyz(24.0771, 17.0109, 69.0189)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#745FDB #C6DB5F
analogous
#5F88DB #745FDB #B25FDB
triadic
#745FDB #DB745F #5FDB74
tetradic
#745FDB #DB5F88 #C6DB5F #5FDBB2
square
#745FDB #DB5F88 #C6DB5F #5FDBB2
split-complementary
#745FDB #DBB25F #88DB5F
monochromatic
#38239C #4A2ECE #745FDB #9F91E6 #CBC3F1

Accessibility & contrast

On white

4.77
#745FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#745FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #745FDB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##745FDB#FFFFFF#000000##FFFFFF
##745FDB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#046FD8
Tritanopia (blue-blind)
#527B94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #745fdb;
/* rgb */ color: rgb(116, 95, 219);
/* oklch */ color: oklch(57.0% 0.182 286.9);
Tailwind
colors: {
  custom: {
    50: '#a38de7',
    500: '#745fdb',
    950: '#000000',
  },
}
SCSS
$custom: #745fdb;
$custom-light: #a38de7;
$custom-dark: #000000;
JSON
{
  "hex": "#745fdb",
  "rgb": {
    "r": 116,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 250.161,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.18198,
    "h": 286.9
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#745FDB
secondary
#DAE2B4
accent
#CB1AAD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #745FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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