#754EA3#754EA3

#754EA3 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.6% C 0.135 H 303.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#754EA3
RGBrgb(117, 78, 163)
HSLhsl(268, 35%, 47%)
HSVhsv(268, 52%, 64%)
CMYKcmyk(28.2%, 52.1%, 0%, 36.1%)
CIE-LABlab(41.02, 34.12, -40.06)
CIE-LCHlch(41.02, 52.62, 310.41°)
OKLaboklab(50.57% 0.0735 -0.1127)
OKLCHoklch(50.57% 0.135 303.1)
XYZxyz(16.6699, 11.8750, 36.0571)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA3 #7CA34E
analogous
#4E52A3 #754EA3 #A04EA3
triadic
#754EA3 #A3754E #4EA375
tetradic
#754EA3 #A34E52 #7CA34E #4EA3A0
square
#754EA3 #A34E52 #7CA34E #4EA3A0
split-complementary
#754EA3 #A3A04E #52A34E
monochromatic
#3A2650 #573A7A #754EA3 #9472BC #B49CD0

Accessibility & contrast

On white

6.22
#754EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#754EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA3#FFFFFF#000000##FFFFFF
##754EA31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#3E61A1
Tritanopia (blue-blind)
#6D5E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ea3;
/* rgb */ color: rgb(117, 78, 163);
/* oklch */ color: oklch(50.6% 0.135 303.1);
Tailwind
colors: {
  custom: {
    50: '#9f81bf',
    500: '#754ea3',
    950: '#000000',
  },
}
SCSS
$custom: #754ea3;
$custom-light: #9f81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea3",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 267.529,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.13452,
    "h": 303.1
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#754EA3
secondary
#A8BC91
accent
#CB5C98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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