#754CF7#754CF7

#754CF7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.239 H 287.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#754CF7
RGBrgb(117, 76, 247)
HSLhsl(254, 91%, 63%)
HSVhsv(254, 69%, 97%)
CMYKcmyk(52.6%, 69.2%, 0%, 3.1%)
CIE-LABlab(46.53, 57.95, -79.60)
CIE-LCHlch(46.53, 98.46, 306.05°)
OKLaboklab(56.44% 0.0701 -0.2288)
OKLCHoklch(56.44% 0.239 287)
XYZxyz(26.7041, 15.6648, 89.5942)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CF7 #CEF74C
analogous
#4C78F7 #754CF7 #CA4CF7
triadic
#754CF7 #F7754C #4CF775
tetradic
#754CF7 #F74C78 #CEF74C #4CF7CA
square
#754CF7 #F74C78 #CEF74C #4CF7CA
split-complementary
#754CF7 #F7CA4C #78F74C
monochromatic
#3509C0 #4811F4 #754CF7 #A287FA #CFC1FC

Accessibility & contrast

On white

5.08
#754CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#754CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CF7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CF7#FFFFFF#000000##FFFFFF
##754CF71.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FC
Deuteranopia (green-blind)
#0069F4
Tritanopia (blue-blind)
#40799C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #754cf7;
/* rgb */ color: rgb(117, 76, 247);
/* oklch */ color: oklch(56.4% 0.239 287.0);
Tailwind
colors: {
  custom: {
    50: '#a881fb',
    500: '#754cf7',
    950: '#000000',
  },
}
SCSS
$custom: #754cf7;
$custom-light: #a881fb;
$custom-dark: #000000;
JSON
{
  "hex": "#754cf7",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 254.386,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56441,
    "c": 0.23929,
    "h": 287
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#754CF7
secondary
#DFEEB1
accent
#E600AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #754CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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