#754CC7#754CC7

#754CC7 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.183 H 294.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#754CC7
RGBrgb(117, 76, 199)
HSLhsl(260, 52%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(41.2%, 61.8%, 0%, 22%)
CIE-LABlab(42.87, 44.75, -58.24)
CIE-LCHlch(42.87, 73.44, 307.54°)
OKLaboklab(52.67% 0.0762 -0.166)
OKLCHoklch(52.67% 0.183 294.7)
XYZxyz(20.2266, 13.0738, 55.4796)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CC7 #9EC74C
analogous
#4C61C7 #754CC7 #B34CC7
triadic
#754CC7 #C7754C #4CC775
tetradic
#754CC7 #C74C61 #9EC74C #4CC7B3
square
#754CC7 #C74C61 #9EC74C #4CC7B3
split-complementary
#754CC7 #C7B34C #61C74C
monochromatic
#3F2474 #5833A3 #754CC7 #997BD6 #BDA9E4

Accessibility & contrast

On white

5.81
#754CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#754CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CC7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CC7#FFFFFF#000000##FFFFFF
##754CC71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#5F6882
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754cc7;
/* rgb */ color: rgb(117, 76, 199);
/* oklch */ color: oklch(52.7% 0.183 294.7);
Tailwind
colors: {
  custom: {
    50: '#a280d9',
    500: '#754cc7',
    950: '#000000',
  },
}
SCSS
$custom: #754cc7;
$custom-light: #a280d9;
$custom-dark: #000000;
JSON
{
  "hex": "#754cc7",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 260,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.18268,
    "h": 294.7
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#754CC7
secondary
#C0D29D
accent
#DC4CAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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