#754395#754395

#754395 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.135 H 310.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#754395
RGBrgb(117, 67, 149)
HSLhsl(277, 38%, 42%)
HSVhsv(277, 55%, 58%)
CMYKcmyk(21.5%, 55%, 0%, 41.6%)
CIE-LABlab(37.78, 36.98, -36.79)
CIE-LCHlch(37.78, 52.16, 315.14°)
OKLaboklab(47.92% 0.0878 -0.1031)
OKLCHoklch(47.92% 0.135 310.4)
XYZxyz(14.7671, 9.9664, 29.5737)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754395 #639543
analogous
#4C4395 #754395 #95438C
triadic
#754395 #957543 #439575
tetradic
#754395 #954C43 #639543 #438C95
square
#754395 #954C43 #639543 #438C95
split-complementary
#754395 #8C9543 #43954C
monochromatic
#331D41 #54306B #754395 #945EB7 #B089CA

Accessibility & contrast

On white

7.02
#754395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#754395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754395
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754395#FFFFFF#000000##FFFFFF
##7543951.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5798
Deuteranopia (green-blind)
#3C5A93
Tritanopia (blue-blind)
#715165
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #754395;
/* rgb */ color: rgb(117, 67, 149);
/* oklch */ color: oklch(47.9% 0.135 310.4);
Tailwind
colors: {
  custom: {
    50: '#9f79b4',
    500: '#754395',
    950: '#000000',
  },
}
SCSS
$custom: #754395;
$custom-light: #9f79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#754395",
  "rgb": {
    "r": 117,
    "g": 67,
    "b": 149
  },
  "hsl": {
    "h": 276.585,
    "s": 37.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.13543,
    "h": 310.4
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#754395
secondary
#94B57F
accent
#CE5A87
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #754395

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

Preview Lab → · Contrast checker → · Palette generator →

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