#754EB8#754EB8

#754EB8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.161 H 297.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#754EB8
RGBrgb(117, 78, 184)
HSLhsl(262, 43%, 51%)
HSVhsv(262, 58%, 72%)
CMYKcmyk(36.4%, 57.6%, 0%, 27.8%)
CIE-LABlab(42.29, 39.59, -50.43)
CIE-LCHlch(42.29, 64.12, 308.13°)
OKLaboklab(51.92% 0.0743 -0.1431)
OKLCHoklch(51.92% 0.161 297.5)
XYZxyz(18.7101, 12.6911, 46.8020)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB8 #91B84E
analogous
#4E5CB8 #754EB8 #AA4EB8
triadic
#754EB8 #B8754E #4EB875
tetradic
#754EB8 #B84E5C #91B84E #4EB8AA
square
#754EB8 #B84E5C #91B84E #4EB8AA
split-complementary
#754EB8 #B8AA4E #5CB84E
monochromatic
#3E2864 #59398F #754EB8 #977ACA #B9A5DB

Accessibility & contrast

On white

5.94
#754EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#754EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EB8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB8#FFFFFF#000000##FFFFFF
##754EB81.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BB
Deuteranopia (green-blind)
#2863B6
Tritanopia (blue-blind)
#66647B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754eb8;
/* rgb */ color: rgb(117, 78, 184);
/* oklch */ color: oklch(51.9% 0.161 297.5);
Tailwind
colors: {
  custom: {
    50: '#a181ce',
    500: '#754eb8',
    950: '#000000',
  },
}
SCSS
$custom: #754eb8;
$custom-light: #a181ce;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb8",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 262.075,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.16123,
    "h": 297.5
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#754EB8
secondary
#B7C89A
accent
#D355A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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