#754498#754498

#754498 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.3% C 0.137 H 309.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#754498
RGBrgb(117, 68, 152)
HSLhsl(275, 38%, 43%)
HSVhsv(275, 55%, 60%)
CMYKcmyk(23%, 55.3%, 0%, 40.4%)
CIE-LABlab(38.17, 37.13, -37.99)
CIE-LCHlch(38.17, 53.12, 314.34°)
OKLaboklab(48.26% 0.0866 -0.1066)
OKLCHoklch(48.26% 0.137 309.1)
XYZxyz(15.0696, 10.1834, 30.8714)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754498 #679844
analogous
#4B4498 #754498 #984491
triadic
#754498 #987544 #449875
tetradic
#754498 #984B44 #679844 #449198
square
#754498 #984B44 #679844 #449198
split-complementary
#754498 #919844 #44984B
monochromatic
#341E43 #54316E #754498 #9461B8 #B18BCB

Accessibility & contrast

On white

6.92
#754498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#754498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754498
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754498#FFFFFF#000000##FFFFFF
##7544981.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#3B5B96
Tritanopia (blue-blind)
#705367
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #754498;
/* rgb */ color: rgb(117, 68, 152);
/* oklch */ color: oklch(48.3% 0.137 309.1);
Tailwind
colors: {
  custom: {
    50: '#9f7ab7',
    500: '#754498',
    950: '#000000',
  },
}
SCSS
$custom: #754498;
$custom-light: #9f7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#754498",
  "rgb": {
    "r": 117,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 275,
    "s": 38.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.13736,
    "h": 309.1
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#754498
secondary
#97B681
accent
#CE5A8A
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #754498

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

Preview Lab → · Contrast checker → · Palette generator →

#754498 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva