#754FA1#754FA1

#754FA1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.130 H 303.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#754FA1
RGBrgb(117, 79, 161)
HSLhsl(268, 34%, 47%)
HSVhsv(268, 51%, 63%)
CMYKcmyk(27.3%, 50.9%, 0%, 36.9%)
CIE-LABlab(41.13, 33.02, -38.69)
CIE-LCHlch(41.13, 50.87, 310.48°)
OKLaboklab(50.62% 0.0719 -0.1087)
OKLCHoklch(50.62% 0.13 303.5)
XYZxyz(16.5637, 11.9471, 35.1447)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA1 #7BA14F
analogous
#4F52A1 #754FA1 #9E4FA1
triadic
#754FA1 #A1754F #4FA175
tetradic
#754FA1 #A14F52 #7BA14F #4FA19E
square
#754FA1 #A14F52 #7BA14F #4FA19E
split-complementary
#754FA1 #A19E4F #52A14F
monochromatic
#39274F #573B78 #754FA1 #9473BA #B39CCE

Accessibility & contrast

On white

6.20
#754FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#754FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FA1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA1#FFFFFF#000000##FFFFFF
##754FA11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#6D5E70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754fa1;
/* rgb */ color: rgb(117, 79, 161);
/* oklch */ color: oklch(50.6% 0.130 303.5);
Tailwind
colors: {
  custom: {
    50: '#9f81bd',
    500: '#754fa1',
    950: '#000000',
  },
}
SCSS
$custom: #754fa1;
$custom-light: #9f81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa1",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 267.805,
    "s": 34.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50618,
    "c": 0.13029,
    "h": 303.5
  },
  "luminance": 0.11947
}

Semantic roles & 50–950 ramp

primary
#754FA1
secondary
#A7BB91
accent
#CA5E98
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0A12
muted
#7E7C81

Preview Lab

Preview with #754FA1

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

Preview Lab → · Contrast checker → · Palette generator →

#754FA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva