#754AE2#754AE2

#754AE2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.217 H 290.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#754AE2
RGBrgb(117, 74, 226)
HSLhsl(257, 72%, 59%)
HSVhsv(257, 67%, 89%)
CMYKcmyk(48.2%, 67.3%, 0%, 11.4%)
CIE-LABlab(44.48, 53.19, -71.12)
CIE-LCHlch(44.48, 88.81, 306.79°)
OKLaboklab(54.45% 0.0753 -0.2039)
OKLCHoklch(54.45% 0.217 290.3)
XYZxyz(23.5085, 14.1695, 73.4331)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AE2 #B7E24A
analogous
#4A6BE2 #754AE2 #C14AE2
triadic
#754AE2 #E2754A #4AE275
tetradic
#754AE2 #E24A6B #B7E24A #4AE2C1
square
#754AE2 #E24A6B #B7E24A #4AE2C1
split-complementary
#754AE2 #E2C14A #6BE24A
monochromatic
#3D1999 #5221CE #754AE2 #9D7FEA #C5B3F3

Accessibility & contrast

On white

5.48
#754AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#754AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AE2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AE2#FFFFFF#000000##FFFFFF
##754AE21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0066DF
Tritanopia (blue-blind)
#517090
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ae2;
/* rgb */ color: rgb(117, 74, 226);
/* oklch */ color: oklch(54.4% 0.217 290.3);
Tailwind
colors: {
  custom: {
    50: '#a67fec',
    500: '#754ae2',
    950: '#000000',
  },
}
SCSS
$custom: #754ae2;
$custom-light: #a67fec;
$custom-dark: #000000;
JSON
{
  "hex": "#754ae2",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 256.974,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.21737,
    "h": 290.3
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#754AE2
secondary
#D1E2A6
accent
#EF39BB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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