#754CA8#754CA8

#754CA8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.144 H 302.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#754CA8
RGBrgb(117, 76, 168)
HSLhsl(267, 38%, 48%)
HSVhsv(267, 55%, 66%)
CMYKcmyk(30.4%, 54.8%, 0%, 34.1%)
CIE-LABlab(40.86, 36.55, -43.29)
CIE-LCHlch(40.86, 56.65, 310.18°)
OKLaboklab(50.55% 0.0765 -0.1221)
OKLCHoklch(50.55% 0.144 302.1)
XYZxyz(16.9868, 11.7779, 38.4166)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA8 #7FA84C
analogous
#4C51A8 #754CA8 #A34CA8
triadic
#754CA8 #A8754C #4CA875
tetradic
#754CA8 #A84C51 #7FA84C #4CA8A3
square
#754CA8 #A84C51 #7FA84C #4CA8A3
split-complementary
#754CA8 #A8A34C #51A84C
monochromatic
#3A2654 #58397E #754CA8 #9472BF #B49CD2

Accessibility & contrast

On white

6.26
#754CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#754CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CA8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA8#FFFFFF#000000##FFFFFF
##754CA81.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AB
Deuteranopia (green-blind)
#3760A6
Tritanopia (blue-blind)
#6B5E72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ca8;
/* rgb */ color: rgb(117, 76, 168);
/* oklch */ color: oklch(50.5% 0.144 302.1);
Tailwind
colors: {
  custom: {
    50: '#a07fc2',
    500: '#754ca8',
    950: '#000000',
  },
}
SCSS
$custom: #754ca8;
$custom-light: #a07fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca8",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 266.739,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50549,
    "c": 0.14412,
    "h": 302.1
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#754CA8
secondary
#AABF91
accent
#CE5A9A
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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