#754CF4#754CF4

#754CF4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.236 H 287.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#754CF4
RGBrgb(117, 76, 244)
HSLhsl(255, 88%, 63%)
HSVhsv(255, 69%, 96%)
CMYKcmyk(52%, 68.9%, 0%, 4.3%)
CIE-LABlab(46.29, 57.12, -78.32)
CIE-LCHlch(46.29, 96.94, 306.10°)
OKLaboklab(56.19% 0.0706 -0.225)
OKLCHoklch(56.19% 0.236 287.4)
XYZxyz(26.2449, 15.4811, 87.1757)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CF4 #CBF44C
analogous
#4C77F4 #754CF4 #C94CF4
triadic
#754CF4 #F4754C #4CF475
tetradic
#754CF4 #F44C77 #CBF44C #4CF4C9
square
#754CF4 #F44C77 #CBF44C #4CF4C9
split-complementary
#754CF4 #F4C94C #77F44C
monochromatic
#360BBA #4912F0 #754CF4 #A186F8 #CEBFFB

Accessibility & contrast

On white

5.13
#754CF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#754CF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CF4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CF4#FFFFFF#000000##FFFFFF
##754CF41.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#43789B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #754cf4;
/* rgb */ color: rgb(117, 76, 244);
/* oklch */ color: oklch(56.2% 0.236 287.4);
Tailwind
colors: {
  custom: {
    50: '#a881f9',
    500: '#754cf4',
    950: '#000000',
  },
}
SCSS
$custom: #754cf4;
$custom-light: #a881f9;
$custom-dark: #000000;
JSON
{
  "hex": "#754cf4",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 244
  },
  "hsl": {
    "h": 254.643,
    "s": 88.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.23586,
    "h": 287.4
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#754CF4
secondary
#DDECB0
accent
#E500AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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