#754AC7#754AC7

#754AC7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.185 H 295.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#754AC7
RGBrgb(117, 74, 199)
HSLhsl(261, 53%, 54%)
HSVhsv(261, 63%, 78%)
CMYKcmyk(41.2%, 62.8%, 0%, 22%)
CIE-LABlab(42.46, 45.84, -58.90)
CIE-LCHlch(42.46, 74.64, 307.90°)
OKLaboklab(52.37% 0.0785 -0.168)
OKLCHoklch(52.37% 0.185 295)
XYZxyz(20.0910, 12.8025, 55.4344)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC7 #9CC74A
analogous
#4A5DC7 #754AC7 #B34AC7
triadic
#754AC7 #C7754A #4AC775
tetradic
#754AC7 #C74A5D #9CC74A #4AC7B3
square
#754AC7 #C74A5D #9CC74A #4AC7B3
split-complementary
#754AC7 #C7B34A #5DC74A
monochromatic
#3F2473 #5832A2 #754AC7 #9979D5 #BCA7E4

Accessibility & contrast

On white

5.90
#754AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#754AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AC7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC7#FFFFFF#000000##FFFFFF
##754AC71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#606682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754ac7;
/* rgb */ color: rgb(117, 74, 199);
/* oklch */ color: oklch(52.4% 0.185 295.0);
Tailwind
colors: {
  custom: {
    50: '#a27fd9',
    500: '#754ac7',
    950: '#000000',
  },
}
SCSS
$custom: #754ac7;
$custom-light: #a27fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac7",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 260.64,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.18539,
    "h": 295
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#754AC7
secondary
#BFD19C
accent
#DC4CAA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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