#754397#754397

#754397 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.0% C 0.138 H 309.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#754397
RGBrgb(117, 67, 151)
HSLhsl(276, 39%, 43%)
HSVhsv(276, 56%, 59%)
CMYKcmyk(22.5%, 55.6%, 0%, 40.8%)
CIE-LABlab(37.90, 37.45, -37.82)
CIE-LCHlch(37.90, 53.23, 314.72°)
OKLaboklab(48.04% 0.088 -0.1061)
OKLCHoklch(48.04% 0.138 309.7)
XYZxyz(14.9281, 10.0308, 30.4219)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754397 #659743
analogous
#4B4397 #754397 #97438F
triadic
#754397 #977543 #439775
tetradic
#754397 #974B43 #659743 #438F97
square
#754397 #974B43 #659743 #438F97
split-complementary
#754397 #8F9743 #43974B
monochromatic
#331D42 #54306D #754397 #945FB8 #B08ACB

Accessibility & contrast

On white

6.99
#754397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#754397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754397
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754397#FFFFFF#000000##FFFFFF
##7543971.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#715266
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #754397;
/* rgb */ color: rgb(117, 67, 151);
/* oklch */ color: oklch(48.0% 0.138 309.7);
Tailwind
colors: {
  custom: {
    50: '#9f79b6',
    500: '#754397',
    950: '#000000',
  },
}
SCSS
$custom: #754397;
$custom-light: #9f79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#754397",
  "rgb": {
    "r": 117,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 275.714,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4804,
    "c": 0.13781,
    "h": 309.7
  },
  "luminance": 0.10031
}

Semantic roles & 50–950 ramp

primary
#754397
secondary
#96B680
accent
#CE5989
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #754397

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

Preview Lab → · Contrast checker → · Palette generator →

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