#754D98#754D98

#754D98 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.7% C 0.122 H 307.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#754D98
RGBrgb(117, 77, 152)
HSLhsl(272, 33%, 45%)
HSVhsv(272, 49%, 60%)
CMYKcmyk(23%, 49.3%, 0%, 40.4%)
CIE-LABlab(40.17, 31.95, -34.81)
CIE-LCHlch(40.17, 47.25, 312.55°)
OKLaboklab(49.74% 0.0737 -0.0974)
OKLCHoklch(49.74% 0.122 307.1)
XYZxyz(15.6564, 11.3568, 31.0670)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754D98 #70984D
analogous
#504D98 #754D98 #984D96
triadic
#754D98 #98754D #4D9875
tetradic
#754D98 #98504D #70984D #4D9698
square
#754D98 #98504D #70984D #4D9698
split-complementary
#754D98 #96984D #4D9850
monochromatic
#362447 #56386F #754D98 #936DB5 #B196CA

Accessibility & contrast

On white

6.42
#754D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#754D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754D98
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754D98#FFFFFF#000000##FFFFFF
##754D981.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#705A6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754d98;
/* rgb */ color: rgb(117, 77, 152);
/* oklch */ color: oklch(49.7% 0.122 307.1);
Tailwind
colors: {
  custom: {
    50: '#9f80b7',
    500: '#754d98',
    950: '#000000',
  },
}
SCSS
$custom: #754d98;
$custom-light: #9f80b7;
$custom-dark: #000000;
JSON
{
  "hex": "#754d98",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 272,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.12213,
    "h": 307.1
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#754D98
secondary
#9FB68B
accent
#C95F90
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A11
muted
#7E7C80

Preview Lab

Preview with #754D98

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

Preview Lab → · Contrast checker → · Palette generator →

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