#754EA1#754EA1

#754EA1 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.4% C 0.132 H 303.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#754EA1
RGBrgb(117, 78, 161)
HSLhsl(268, 35%, 47%)
HSVhsv(268, 52%, 63%)
CMYKcmyk(27.3%, 51.6%, 0%, 36.9%)
CIE-LABlab(40.90, 33.61, -39.05)
CIE-LCHlch(40.90, 51.52, 310.71°)
OKLaboklab(50.45% 0.0733 -0.1097)
OKLCHoklch(50.45% 0.132 303.7)
XYZxyz(16.4921, 11.8039, 35.1208)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA1 #7AA14E
analogous
#4E51A1 #754EA1 #9F4EA1
triadic
#754EA1 #A1754E #4EA175
tetradic
#754EA1 #A14E51 #7AA14E #4EA19F
square
#754EA1 #A14E51 #7AA14E #4EA19F
split-complementary
#754EA1 #A19F4E #51A14E
monochromatic
#39264F #573A78 #754EA1 #9472BB #B39BCF

Accessibility & contrast

On white

6.25
#754EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754EA1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA1#FFFFFF#000000##FFFFFF
##754EA11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA4
Deuteranopia (green-blind)
#3F609F
Tritanopia (blue-blind)
#6D5D70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ea1;
/* rgb */ color: rgb(117, 78, 161);
/* oklch */ color: oklch(50.4% 0.132 303.7);
Tailwind
colors: {
  custom: {
    50: '#9f81bd',
    500: '#754ea1',
    950: '#000000',
  },
}
SCSS
$custom: #754ea1;
$custom-light: #9f81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea1",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 268.193,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.13195,
    "h": 303.7
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#754EA1
secondary
#A7BB90
accent
#CB5D97
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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