#754EA7#754EA7

#754EA7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.8% C 0.140 H 301.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#754EA7
RGBrgb(117, 78, 167)
HSLhsl(266, 36%, 48%)
HSVhsv(266, 53%, 65%)
CMYKcmyk(29.9%, 53.3%, 0%, 34.5%)
CIE-LABlab(41.25, 35.14, -42.07)
CIE-LCHlch(41.25, 54.82, 309.87°)
OKLaboklab(50.82% 0.0738 -0.1186)
OKLCHoklch(50.82% 0.14 301.9)
XYZxyz(17.0340, 12.0207, 37.9745)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA7 #80A74E
analogous
#4E53A7 #754EA7 #A14EA7
triadic
#754EA7 #A7754E #4EA775
tetradic
#754EA7 #A74E53 #80A74E #4EA7A1
square
#754EA7 #A74E53 #80A74E #4EA7A1
split-complementary
#754EA7 #A7A14E #53A74E
monochromatic
#3B2754 #583B7D #754EA7 #9574BE #B49ED2

Accessibility & contrast

On white

6.17
#754EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#754EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA7#FFFFFF#000000##FFFFFF
##754EA71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AA
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#6B5F73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ea7;
/* rgb */ color: rgb(117, 78, 167);
/* oklch */ color: oklch(50.8% 0.140 301.9);
Tailwind
colors: {
  custom: {
    50: '#9f81c1',
    500: '#754ea7',
    950: '#000000',
  },
}
SCSS
$custom: #754ea7;
$custom-light: #9f81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea7",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 266.292,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.13965,
    "h": 301.9
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#754EA7
secondary
#ABBE92
accent
#CC5B9B
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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