#754FE8#754FE8

#754FE8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.218 H 288.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#754FE8
RGBrgb(117, 79, 232)
HSLhsl(255, 77%, 61%)
HSVhsv(255, 66%, 91%)
CMYKcmyk(49.6%, 65.9%, 0%, 9%)
CIE-LABlab(45.91, 52.21, -72.19)
CIE-LCHlch(45.91, 89.09, 305.88°)
OKLaboklab(55.62% 0.0698 -0.207)
OKLCHoklch(55.62% 0.219 288.6)
XYZxyz(24.6934, 15.1990, 77.9609)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FE8 #C2E84F
analogous
#4F75E8 #754FE8 #C14FE8
triadic
#754FE8 #E8754F #4FE875
tetradic
#754FE8 #E84F75 #C2E84F #4FE8C1
square
#754FE8 #E84F75 #C2E84F #4FE8C1
split-complementary
#754FE8 #E8C14F #75E84F
monochromatic
#3A16A7 #4D1DDD #754FE8 #9F85EF #CABBF6

Accessibility & contrast

On white

5.20
#754FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#754FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FE8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FE8#FFFFFF#000000##FFFFFF
##754FE81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#4C7595
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #754fe8;
/* rgb */ color: rgb(117, 79, 232);
/* oklch */ color: oklch(55.6% 0.218 288.6);
Tailwind
colors: {
  custom: {
    50: '#a683f0',
    500: '#754fe8',
    950: '#000000',
  },
}
SCSS
$custom: #754fe8;
$custom-light: #a683f0;
$custom-dark: #000000;
JSON
{
  "hex": "#754fe8",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 254.902,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.2185,
    "h": 288.6
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#754FE8
secondary
#D8E6AD
accent
#D90CA6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #754FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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