#754AD2#754AD2

#754AD2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.199 H 293.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#754AD2
RGBrgb(117, 74, 210)
HSLhsl(259, 60%, 56%)
HSVhsv(259, 65%, 82%)
CMYKcmyk(44.3%, 64.8%, 0%, 17.6%)
CIE-LABlab(43.26, 48.82, -63.96)
CIE-LCHlch(43.26, 80.46, 307.35°)
OKLaboklab(53.2% 0.0774 -0.1829)
OKLCHoklch(53.2% 0.199 293)
XYZxyz(21.4146, 13.3320, 62.4053)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AD2 #A7D24A
analogous
#4A63D2 #754AD2 #B94AD2
triadic
#754AD2 #D2754A #4AD275
tetradic
#754AD2 #D24A63 #A7D24A #4AD2B9
square
#754AD2 #D24A63 #A7D24A #4AD2B9
split-complementary
#754AD2 #D2B94A #63D24A
monochromatic
#3F2081 #572CB2 #754AD2 #9A7BDE #C0ACEA

Accessibility & contrast

On white

5.73
#754AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#754AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AD2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AD2#FFFFFF#000000##FFFFFF
##754AD21.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#5A6A87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754ad2;
/* rgb */ color: rgb(117, 74, 210);
/* oklch */ color: oklch(53.2% 0.199 293.0);
Tailwind
colors: {
  custom: {
    50: '#a47fe1',
    500: '#754ad2',
    950: '#000000',
  },
}
SCSS
$custom: #754ad2;
$custom-light: #a47fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#754ad2",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 258.971,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53196,
    "c": 0.19857,
    "h": 293
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#754AD2
secondary
#C6D8A0
accent
#E344B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754AD2

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

Preview Lab → · Contrast checker → · Palette generator →

#754AD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva