#754FAA#754FAA

#754FAA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.142 H 300.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#754FAA
RGBrgb(117, 79, 170)
HSLhsl(265, 37%, 49%)
HSVhsv(265, 54%, 67%)
CMYKcmyk(31.2%, 53.5%, 0%, 33.3%)
CIE-LABlab(41.65, 35.33, -43.21)
CIE-LCHlch(41.65, 55.82, 309.27°)
OKLaboklab(51.17% 0.0726 -0.1219)
OKLCHoklch(51.17% 0.142 300.8)
XYZxyz(17.3861, 12.2761, 39.4760)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FAA #84AA4F
analogous
#4F57AA #754FAA #A34FAA
triadic
#754FAA #AA754F #4FAA75
tetradic
#754FAA #AA4F57 #84AA4F #4FAAA3
square
#754FAA #AA4F57 #84AA4F #4FAAA3
split-complementary
#754FAA #AAA34F #57AA4F
monochromatic
#3B2856 #583C80 #754FAA #9577C0 #B6A0D3

Accessibility & contrast

On white

6.08
#754FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#754FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FAA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FAA#FFFFFF#000000##FFFFFF
##754FAA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#6A6075
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754faa;
/* rgb */ color: rgb(117, 79, 170);
/* oklch */ color: oklch(51.2% 0.142 300.8);
Tailwind
colors: {
  custom: {
    50: '#a081c4',
    500: '#754faa',
    950: '#000000',
  },
}
SCSS
$custom: #754faa;
$custom-light: #a081c4;
$custom-dark: #000000;
JSON
{
  "hex": "#754faa",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 265.055,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.14188,
    "h": 300.8
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#754FAA
secondary
#AEC095
accent
#CD5B9D
background
#FAF8FC
surface
#F3EFF8
border
#CDCAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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