#754AC8#754AC8

#754AC8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.187 H 294.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#754AC8
RGBrgb(117, 74, 200)
HSLhsl(260, 53%, 54%)
HSVhsv(260, 63%, 78%)
CMYKcmyk(41.5%, 63%, 0%, 21.6%)
CIE-LABlab(42.53, 46.11, -59.36)
CIE-LCHlch(42.53, 75.17, 307.84°)
OKLaboklab(52.44% 0.0784 -0.1693)
OKLCHoklch(52.44% 0.187 294.8)
XYZxyz(20.2075, 12.8491, 56.0478)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC8 #9DC84A
analogous
#4A5EC8 #754AC8 #B44AC8
triadic
#754AC8 #C8754A #4AC875
tetradic
#754AC8 #C84A5E #9DC84A #4AC8B4
square
#754AC8 #C84A5E #9DC84A #4AC8B4
split-complementary
#754AC8 #C8B44A #5EC84A
monochromatic
#3F2374 #5832A3 #754AC8 #9979D6 #BDA8E5

Accessibility & contrast

On white

5.88
#754AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#754AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AC8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC8#FFFFFF#000000##FFFFFF
##754AC81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#5F6782
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754ac8;
/* rgb */ color: rgb(117, 74, 200);
/* oklch */ color: oklch(52.4% 0.187 294.8);
Tailwind
colors: {
  custom: {
    50: '#a37fd9',
    500: '#754ac8',
    950: '#000000',
  },
}
SCSS
$custom: #754ac8;
$custom-light: #a37fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac8",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 260.476,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.1866,
    "h": 294.8
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#754AC8
secondary
#BFD29C
accent
#DD4BAB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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