#754FD6#754FD6

#754FD6 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.197 H 291.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#754FD6
RGBrgb(117, 79, 214)
HSLhsl(257, 62%, 57%)
HSVhsv(257, 63%, 84%)
CMYKcmyk(45.3%, 63.1%, 0%, 16.1%)
CIE-LABlab(44.56, 47.20, -64.14)
CIE-LCHlch(44.56, 79.64, 306.35°)
OKLaboklab(54.23% 0.0718 -0.1834)
OKLCHoklch(54.23% 0.197 291.4)
XYZxyz(22.2663, 14.2282, 65.1784)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FD6 #B0D64F
analogous
#4F6CD6 #754FD6 #B94FD6
triadic
#754FD6 #D6754F #4FD675
tetradic
#754FD6 #D64F6C #B0D64F #4FD6B9
square
#754FD6 #D64F6C #B0D64F #4FD6B9
split-complementary
#754FD6 #D6B94F #6CD64F
monochromatic
#3E208A #542CBC #754FD6 #9C81E2 #C3B2ED

Accessibility & contrast

On white

5.46
#754FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#754FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FD6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FD6#FFFFFF#000000##FFFFFF
##754FD61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#586F8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754fd6;
/* rgb */ color: rgb(117, 79, 214);
/* oklch */ color: oklch(54.2% 0.197 291.4);
Tailwind
colors: {
  custom: {
    50: '#a482e3',
    500: '#754fd6',
    950: '#000000',
  },
}
SCSS
$custom: #754fd6;
$custom-light: #a482e3;
$custom-dark: #000000;
JSON
{
  "hex": "#754fd6",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 256.889,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54228,
    "c": 0.19696,
    "h": 291.4
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#754FD6
secondary
#CCDCA5
accent
#E543B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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