#754EA8#754EA8

#754EA8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.141 H 301.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#754EA8
RGBrgb(117, 78, 168)
HSLhsl(266, 37%, 48%)
HSVhsv(266, 54%, 66%)
CMYKcmyk(30.4%, 53.6%, 0%, 34.1%)
CIE-LABlab(41.31, 35.40, -42.57)
CIE-LCHlch(41.31, 55.37, 309.74°)
OKLaboklab(50.88% 0.0738 -0.12)
OKLCHoklch(50.88% 0.141 301.6)
XYZxyz(17.1268, 12.0578, 38.4633)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA8 #81A84E
analogous
#4E54A8 #754EA8 #A24EA8
triadic
#754EA8 #A8754E #4EA875
tetradic
#754EA8 #A84E54 #81A84E #4EA8A2
square
#754EA8 #A84E54 #81A84E #4EA8A2
split-complementary
#754EA8 #A8A24E #54A84E
monochromatic
#3B2754 #583B7E #754EA8 #9575BF #B59ED2

Accessibility & contrast

On white

6.16
#754EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#754EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA8#FFFFFF#000000##FFFFFF
##754EA81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E61AB
Deuteranopia (green-blind)
#3A61A6
Tritanopia (blue-blind)
#6B5F73
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ea8;
/* rgb */ color: rgb(117, 78, 168);
/* oklch */ color: oklch(50.9% 0.141 301.6);
Tailwind
colors: {
  custom: {
    50: '#9f81c2',
    500: '#754ea8',
    950: '#000000',
  },
}
SCSS
$custom: #754ea8;
$custom-light: #9f81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea8",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 266,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.14092,
    "h": 301.6
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#754EA8
secondary
#ACBF93
accent
#CD5B9B
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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