#754EFF#754EFF

#754EFF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.246 H 285.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#754EFF
RGBrgb(117, 78, 255)
HSLhsl(253, 100%, 65%)
HSVhsv(253, 69%, 100%)
CMYKcmyk(54.1%, 69.4%, 0%, 0%)
CIE-LABlab(47.56, 59.15, -82.38)
CIE-LCHlch(47.56, 101.42, 305.68°)
OKLaboklab(57.38% 0.067 -0.237)
OKLCHoklch(57.38% 0.246 285.8)
XYZxyz(28.1051, 16.4491, 96.2824)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EFF #D8FF4E
analogous
#4E80FF #754EFF #CD4EFF
triadic
#754EFF #FF754E #4EFF75
tetradic
#754EFF #FF4E80 #D8FF4E #4EFFCD
square
#754EFF #FF4E80 #D8FF4E #4EFFCD
split-complementary
#754EFF #FFCD4E #80FF4E
monochromatic
#2E00D3 #4511FF #754EFF #A58BFF #D4C8FF

Accessibility & contrast

On white

4.89
#754EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#754EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EFF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EFF#FFFFFF#000000##FFFFFF
##754EFF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006BFC
Tritanopia (blue-blind)
#377DA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #754eff;
/* rgb */ color: rgb(117, 78, 255);
/* oklch */ color: oklch(57.4% 0.246 285.8);
Tailwind
colors: {
  custom: {
    50: '#a983ff',
    500: '#754eff',
    950: '#000000',
  },
}
SCSS
$custom: #754eff;
$custom-light: #a983ff;
$custom-dark: #000000;
JSON
{
  "hex": "#754eff",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 253.22,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.24625,
    "h": 285.8
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#754EFF
secondary
#E5F2B7
accent
#E600B3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #754EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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