#754EAF#754EAF

#754EAF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.150 H 299.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#754EAF
RGBrgb(117, 78, 175)
HSLhsl(264, 38%, 50%)
HSVhsv(264, 55%, 69%)
CMYKcmyk(33.1%, 55.4%, 0%, 31.4%)
CIE-LABlab(41.73, 37.21, -46.04)
CIE-LCHlch(41.73, 59.20, 308.95°)
OKLaboklab(51.33% 0.0742 -0.1302)
OKLCHoklch(51.33% 0.15 299.7)
XYZxyz(17.7965, 12.3257, 41.9906)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EAF #88AF4E
analogous
#4E57AF #754EAF #A64EAF
triadic
#754EAF #AF754E #4EAF75
tetradic
#754EAF #AF4E57 #88AF4E #4EAFA6
square
#754EAF #AF4E57 #88AF4E #4EAFA6
split-complementary
#754EAF #AFA64E #57AF4E
monochromatic
#3C285A #593B85 #754EAF #9678C3 #B7A2D6

Accessibility & contrast

On white

6.06
#754EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#754EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EAF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EAF#FFFFFF#000000##FFFFFF
##754EAF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#696177
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754eaf;
/* rgb */ color: rgb(117, 78, 175);
/* oklch */ color: oklch(51.3% 0.150 299.7);
Tailwind
colors: {
  custom: {
    50: '#a081c7',
    500: '#754eaf',
    950: '#000000',
  },
}
SCSS
$custom: #754eaf;
$custom-light: #a081c7;
$custom-dark: #000000;
JSON
{
  "hex": "#754eaf",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 264.124,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.14985,
    "h": 299.7
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#754EAF
secondary
#B1C396
accent
#CE5A9F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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