#753198#753198

#753198 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 312.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#753198
RGBrgb(117, 49, 152)
HSLhsl(280, 51%, 39%)
HSVhsv(280, 68%, 60%)
CMYKcmyk(23%, 67.8%, 0%, 40.4%)
CIE-LABlab(34.49, 47.06, -43.88)
CIE-LCHlch(34.49, 64.34, 317.01°)
OKLaboklab(45.58% 0.1113 -0.1237)
OKLCHoklch(45.58% 0.166 312)
XYZxyz(14.1009, 8.2459, 30.5485)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#753198 #549831
analogous
#423198 #753198 #983188
triadic
#753198 #987531 #319875
tetradic
#753198 #984231 #549831 #318898
square
#753198 #984231 #549831 #318898
split-complementary
#753198 #889831 #319842
monochromatic
#2E133B #51226A #753198 #9744C3 #B172D2

Accessibility & contrast

On white

7.93
#753198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#753198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #753198
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##753198#FFFFFF#000000##FFFFFF
##7531981.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#275296
Tritanopia (blue-blind)
#714660
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #753198;
/* rgb */ color: rgb(117, 49, 152);
/* oklch */ color: oklch(45.6% 0.166 312.0);
Tailwind
colors: {
  custom: {
    50: '#a06eb7',
    500: '#753198',
    950: '#000000',
  },
}
SCSS
$custom: #753198;
$custom-light: #a06eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#753198",
  "rgb": {
    "r": 117,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 279.612,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.1664,
    "h": 312
  },
  "luminance": 0.08246
}

Semantic roles & 50–950 ramp

primary
#753198
secondary
#86B96B
accent
#DB4D7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #753198

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

Preview Lab → · Contrast checker → · Palette generator →

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