#754FD8#754FD8

#754FD8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.199 H 291.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#754FD8
RGBrgb(117, 79, 216)
HSLhsl(257, 64%, 58%)
HSVhsv(257, 63%, 85%)
CMYKcmyk(45.8%, 63.4%, 0%, 15.3%)
CIE-LABlab(44.70, 47.76, -65.05)
CIE-LCHlch(44.70, 80.70, 306.28°)
OKLaboklab(54.38% 0.0716 -0.1861)
OKLCHoklch(54.38% 0.199 291.1)
XYZxyz(22.5233, 14.3309, 66.5318)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FD8 #B2D84F
analogous
#4F6ED8 #754FD8 #B94FD8
triadic
#754FD8 #D8754F #4FD875
tetradic
#754FD8 #D84F6E #B2D84F #4FD8B9
square
#754FD8 #D84F6E #B2D84F #4FD8B9
split-complementary
#754FD8 #D8B94F #6ED84F
monochromatic
#3E1F8D #542ABF #754FD8 #9C81E3 #C4B3EE

Accessibility & contrast

On white

5.43
#754FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#754FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FD8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FD8#FFFFFF#000000##FFFFFF
##754FD81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#576F8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754fd8;
/* rgb */ color: rgb(117, 79, 216);
/* oklch */ color: oklch(54.4% 0.199 291.1);
Tailwind
colors: {
  custom: {
    50: '#a482e5',
    500: '#754fd8',
    950: '#000000',
  },
}
SCSS
$custom: #754fd8;
$custom-light: #a482e5;
$custom-dark: #000000;
JSON
{
  "hex": "#754fd8",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 256.642,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.19938,
    "h": 291.1
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#754FD8
secondary
#CEDDA6
accent
#E741B9
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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