#754AD4#754AD4

#754AD4 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.201 H 292.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#754AD4
RGBrgb(117, 74, 212)
HSLhsl(259, 62%, 56%)
HSVhsv(259, 65%, 83%)
CMYKcmyk(44.8%, 65.1%, 0%, 16.9%)
CIE-LABlab(43.41, 49.36, -64.87)
CIE-LCHlch(43.41, 81.51, 307.27°)
OKLaboklab(53.35% 0.0772 -0.1855)
OKLCHoklch(53.35% 0.201 292.6)
XYZxyz(21.6653, 13.4323, 63.7258)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AD4 #A9D44A
analogous
#4A64D4 #754AD4 #BA4AD4
triadic
#754AD4 #D4754A #4AD475
tetradic
#754AD4 #D44A64 #A9D44A #4AD4BA
square
#754AD4 #D44A64 #A9D44A #4AD4BA
split-complementary
#754AD4 #D4BA4A #64D44A
monochromatic
#3F1F84 #562BB6 #754AD4 #9B7BE0 #C0ADEB

Accessibility & contrast

On white

5.70
#754AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#754AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AD4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AD4#FFFFFF#000000##FFFFFF
##754AD41.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#596B89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754ad4;
/* rgb */ color: rgb(117, 74, 212);
/* oklch */ color: oklch(53.3% 0.201 292.6);
Tailwind
colors: {
  custom: {
    50: '#a47fe2',
    500: '#754ad4',
    950: '#000000',
  },
}
SCSS
$custom: #754ad4;
$custom-light: #a47fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#754ad4",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 258.696,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.20095,
    "h": 292.6
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#754AD4
secondary
#C8D9A0
accent
#E543B2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #754AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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