#754CA7#754CA7

#754CA7 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.143 H 302.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#754CA7
RGBrgb(117, 76, 167)
HSLhsl(267, 37%, 48%)
HSVhsv(267, 54%, 65%)
CMYKcmyk(29.9%, 54.5%, 0%, 34.5%)
CIE-LABlab(40.80, 36.29, -42.79)
CIE-LCHlch(40.80, 56.11, 310.30°)
OKLaboklab(50.49% 0.0765 -0.1207)
OKLCHoklch(50.49% 0.143 302.4)
XYZxyz(16.8940, 11.7408, 37.9279)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA7 #7EA74C
analogous
#4C50A7 #754CA7 #A34CA7
triadic
#754CA7 #A7754C #4CA775
tetradic
#754CA7 #A74C50 #7EA74C #4CA7A3
square
#754CA7 #A74C50 #7EA74C #4CA7A3
split-complementary
#754CA7 #A7A34C #50A74C
monochromatic
#3A2653 #58397D #754CA7 #9472BF #B49CD2

Accessibility & contrast

On white

6.27
#754CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#754CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CA7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA7#FFFFFF#000000##FFFFFF
##754CA71.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FAA
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#6C5D72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ca7;
/* rgb */ color: rgb(117, 76, 167);
/* oklch */ color: oklch(50.5% 0.143 302.4);
Tailwind
colors: {
  custom: {
    50: '#a07fc2',
    500: '#754ca7',
    950: '#000000',
  },
}
SCSS
$custom: #754ca7;
$custom-light: #a07fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca7",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 267.033,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50485,
    "c": 0.14286,
    "h": 302.4
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#754CA7
secondary
#AABE90
accent
#CD5A9A
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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