#754AFF#754AFF

#754AFF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.9% C 0.250 H 286.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#754AFF
RGBrgb(117, 74, 255)
HSLhsl(254, 100%, 65%)
HSVhsv(254, 71%, 100%)
CMYKcmyk(54.1%, 71%, 0%, 0%)
CIE-LABlab(46.84, 61.15, -83.56)
CIE-LCHlch(46.84, 103.55, 306.20°)
OKLaboklab(56.87% 0.0701 -0.2404)
OKLCHoklch(56.87% 0.25 286.3)
XYZxyz(27.8295, 15.8979, 96.1905)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AFF #D4FF4A
analogous
#4A7AFF #754AFF #CF4AFF
triadic
#754AFF #FF754A #4AFF75
tetradic
#754AFF #FF4A7A #D4FF4A #4AFFCF
square
#754AFF #FF4A7A #D4FF4A #4AFFCF
split-complementary
#754AFF #FFCF4A #7AFF4A
monochromatic
#3100CF #460DFF #754AFF #A487FF #D2C4FF

Accessibility & contrast

On white

5.02
#754AFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#754AFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AFF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AFF#FFFFFF#000000##FFFFFF
##754AFF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#387BA0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #754aff;
/* rgb */ color: rgb(117, 74, 255);
/* oklch */ color: oklch(56.9% 0.250 286.3);
Tailwind
colors: {
  custom: {
    50: '#a980ff',
    500: '#754aff',
    950: '#000000',
  },
}
SCSS
$custom: #754aff;
$custom-light: #a980ff;
$custom-dark: #000000;
JSON
{
  "hex": "#754aff",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 254.254,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.25041,
    "h": 286.3
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#754AFF
secondary
#E3F2B3
accent
#E600AF
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #754AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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