#754097#754097

#754097 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.6% C 0.143 H 310.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#754097
RGBrgb(117, 64, 151)
HSLhsl(277, 40%, 42%)
HSVhsv(277, 58%, 59%)
CMYKcmyk(22.5%, 57.6%, 0%, 40.8%)
CIE-LABlab(37.27, 39.12, -38.82)
CIE-LCHlch(37.27, 55.11, 315.21°)
OKLaboklab(47.58% 0.0921 -0.109)
OKLCHoklch(47.58% 0.143 310.2)
XYZxyz(14.7544, 9.6833, 30.3640)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754097 #629740
analogous
#4A4097 #754097 #97408D
triadic
#754097 #977540 #409775
tetradic
#754097 #974A40 #629740 #408D97
square
#754097 #974A40 #629740 #408D97
split-complementary
#754097 #8D9740 #40974A
monochromatic
#321C41 #542E6C #754097 #945BB9 #B086CC

Accessibility & contrast

On white

7.15
#754097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#754097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754097
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754097#FFFFFF#000000##FFFFFF
##7540971.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#715065
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #754097;
/* rgb */ color: rgb(117, 64, 151);
/* oklch */ color: oklch(47.6% 0.143 310.2);
Tailwind
colors: {
  custom: {
    50: '#9f77b6',
    500: '#754097',
    950: '#000000',
  },
}
SCSS
$custom: #754097;
$custom-light: #9f77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#754097",
  "rgb": {
    "r": 117,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 276.552,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.14271,
    "h": 310.2
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#754097
secondary
#93B67D
accent
#D05787
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #754097

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

Preview Lab → · Contrast checker → · Palette generator →

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