#754FA5#754FA5

#754FA5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.135 H 302.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#754FA5
RGBrgb(117, 79, 165)
HSLhsl(267, 35%, 48%)
HSVhsv(267, 52%, 65%)
CMYKcmyk(29.1%, 52.1%, 0%, 35.3%)
CIE-LABlab(41.36, 34.04, -40.71)
CIE-LCHlch(41.36, 53.07, 309.90°)
OKLaboklab(50.86% 0.0722 -0.1146)
OKLCHoklch(50.86% 0.135 302.2)
XYZxyz(16.9221, 12.0905, 37.0322)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA5 #7FA54F
analogous
#4F54A5 #754FA5 #A04FA5
triadic
#754FA5 #A5754F #4FA575
tetradic
#754FA5 #A54F54 #7FA54F #4FA5A0
square
#754FA5 #A54F54 #7FA54F #4FA5A0
split-complementary
#754FA5 #A5A04F #54A54F
monochromatic
#3A2752 #583B7C #754FA5 #9475BD #B49ED1

Accessibility & contrast

On white

6.14
#754FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#754FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FA5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA5#FFFFFF#000000##FFFFFF
##754FA51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#3D61A3
Tritanopia (blue-blind)
#6C5F72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754fa5;
/* rgb */ color: rgb(117, 79, 165);
/* oklch */ color: oklch(50.9% 0.135 302.2);
Tailwind
colors: {
  custom: {
    50: '#9f81c0',
    500: '#754fa5',
    950: '#000000',
  },
}
SCSS
$custom: #754fa5;
$custom-light: #9f81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa5",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 266.512,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50861,
    "c": 0.13545,
    "h": 302.2
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#754FA5
secondary
#AABD92
accent
#CB5D9A
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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