#754FF4#754FF4

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

Color values

HEX#754FF4
RGBrgb(117, 79, 244)
HSLhsl(254, 88%, 63%)
HSVhsv(254, 68%, 96%)
CMYKcmyk(52%, 67.6%, 0%, 4.3%)
CIE-LABlab(46.85, 55.56, -77.40)
CIE-LCHlch(46.85, 95.28, 305.67°)
OKLaboklab(56.59% 0.0681 -0.2223)
OKLCHoklch(56.59% 0.233 287)
XYZxyz(26.4564, 15.9042, 87.2462)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FF4 #CEF44F
analogous
#4F7BF4 #754FF4 #C74FF4
triadic
#754FF4 #F4754F #4FF475
tetradic
#754FF4 #F44F7B #CEF44F #4FF4C7
square
#754FF4 #F44F7B #CEF44F #4FF4C7
split-complementary
#754FF4 #F4C74F #7BF44F
monochromatic
#350CBD #4815F0 #754FF4 #A289F8 #CFC2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##754FF4#FFFFFF#000000##FFFFFF
##754FF41.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)
#0073F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#43799B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #754ff4;
/* rgb */ color: rgb(117, 79, 244);
/* oklch */ color: oklch(56.6% 0.233 287.0);
Tailwind
colors: {
  custom: {
    50: '#a783f9',
    500: '#754ff4',
    950: '#000000',
  },
}
SCSS
$custom: #754ff4;
$custom-light: #a783f9;
$custom-dark: #000000;
JSON
{
  "hex": "#754ff4",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 253.818,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56593,
    "c": 0.23253,
    "h": 287
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#754FF4
secondary
#DFEDB2
accent
#E501B0
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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