#754698#754698

#754698 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.6% C 0.134 H 308.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#754698
RGBrgb(117, 70, 152)
HSLhsl(274, 37%, 44%)
HSVhsv(274, 54%, 60%)
CMYKcmyk(23%, 53.9%, 0%, 40.4%)
CIE-LABlab(38.60, 36.00, -37.31)
CIE-LCHlch(38.60, 51.84, 313.98°)
OKLaboklab(48.58% 0.0838 -0.1046)
OKLCHoklch(48.58% 0.134 308.7)
XYZxyz(15.1927, 10.4294, 30.9124)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754698 #699846
analogous
#4C4698 #754698 #984692
triadic
#754698 #987546 #469875
tetradic
#754698 #984C46 #699846 #469298
square
#754698 #984C46 #699846 #469298
split-complementary
#754698 #929846 #46984C
monochromatic
#341F44 #55336E #754698 #9464B7 #B18ECB

Accessibility & contrast

On white

6.81
#754698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#754698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754698
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754698#FFFFFF#000000##FFFFFF
##7546981.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#705468
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #754698;
/* rgb */ color: rgb(117, 70, 152);
/* oklch */ color: oklch(48.6% 0.134 308.7);
Tailwind
colors: {
  custom: {
    50: '#9f7bb7',
    500: '#754698',
    950: '#000000',
  },
}
SCSS
$custom: #754698;
$custom-light: #9f7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#754698",
  "rgb": {
    "r": 117,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 274.39,
    "s": 36.937,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.13403,
    "h": 308.7
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#754698
secondary
#99B684
accent
#CD5B8C
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #754698

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

Preview Lab → · Contrast checker → · Palette generator →

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