#754AD7#754AD7

#754AD7 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.204 H 292.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#754AD7
RGBrgb(117, 74, 215)
HSLhsl(258, 64%, 57%)
HSVhsv(258, 66%, 84%)
CMYKcmyk(45.6%, 65.6%, 0%, 15.7%)
CIE-LABlab(43.63, 50.18, -66.22)
CIE-LCHlch(43.63, 83.09, 307.15°)
OKLaboklab(53.58% 0.0769 -0.1895)
OKLCHoklch(53.58% 0.204 292.1)
XYZxyz(22.0472, 13.5850, 65.7373)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AD7 #ACD74A
analogous
#4A66D7 #754AD7 #BC4AD7
triadic
#754AD7 #D7754A #4AD775
tetradic
#754AD7 #D74A66 #ACD74A #4AD7BC
square
#754AD7 #D74A66 #ACD74A #4AD7BC
split-complementary
#754AD7 #D7BC4A #66D74A
monochromatic
#3F1E88 #5629BB #754AD7 #9B7CE2 #C1AEED

Accessibility & contrast

On white

5.65
#754AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#754AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AD7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AD7#FFFFFF#000000##FFFFFF
##754AD71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#586C8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754ad7;
/* rgb */ color: rgb(117, 74, 215);
/* oklch */ color: oklch(53.6% 0.204 292.1);
Tailwind
colors: {
  custom: {
    50: '#a47fe4',
    500: '#754ad7',
    950: '#000000',
  },
}
SCSS
$custom: #754ad7;
$custom-light: #a47fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#754ad7",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 215
  },
  "hsl": {
    "h": 258.298,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53581,
    "c": 0.20449,
    "h": 292.1
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#754AD7
secondary
#CADBA2
accent
#E741B4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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