#754FFF#754FFF

#754FFF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.245 H 285.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#754FFF
RGBrgb(117, 79, 255)
HSLhsl(253, 100%, 65%)
HSVhsv(253, 69%, 100%)
CMYKcmyk(54.1%, 69%, 0%, 0%)
CIE-LABlab(47.74, 58.64, -82.08)
CIE-LCHlch(47.74, 100.88, 305.54°)
OKLaboklab(57.51% 0.0662 -0.2361)
OKLCHoklch(57.51% 0.245 285.7)
XYZxyz(28.1767, 16.5923, 96.3063)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FFF #D9FF4F
analogous
#4F81FF #754FFF #CD4FFF
triadic
#754FFF #FF754F #4FFF75
tetradic
#754FFF #FF4F81 #D9FF4F #4FFFCD
square
#754FFF #FF4F81 #D9FF4F #4FFFCD
split-complementary
#754FFF #FFCD4F #81FF4F
monochromatic
#2E00D4 #4512FF #754FFF #A58CFF #D5C9FF

Accessibility & contrast

On white

4.86
#754FFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#754FFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FFF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FFF#FFFFFF#000000##FFFFFF
##754FFF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754fff;
/* rgb */ color: rgb(117, 79, 255);
/* oklch */ color: oklch(57.5% 0.245 285.7);
Tailwind
colors: {
  custom: {
    50: '#a983ff',
    500: '#754fff',
    950: '#000000',
  },
}
SCSS
$custom: #754fff;
$custom-light: #a983ff;
$custom-dark: #000000;
JSON
{
  "hex": "#754fff",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 252.955,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.24519,
    "h": 285.7
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#754FFF
secondary
#E6F2B7
accent
#E600B4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #754FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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