#754CFD#754CFD

#754CFD is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.246 H 286.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#754CFD
RGBrgb(117, 76, 253)
HSLhsl(254, 98%, 65%)
HSVhsv(254, 70%, 99%)
CMYKcmyk(53.8%, 70%, 0%, 0.8%)
CIE-LABlab(47.03, 59.61, -82.14)
CIE-LCHlch(47.03, 101.49, 305.97°)
OKLaboklab(56.95% 0.069 -0.2362)
OKLCHoklch(56.95% 0.246 286.3)
XYZxyz(27.6449, 16.0411, 94.5490)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CFD #D4FD4C
analogous
#4C7CFD #754CFD #CD4CFD
triadic
#754CFD #FD754C #4CFD75
tetradic
#754CFD #FD4C7C #D4FD4C #4CFDCD
square
#754CFD #FD4C7C #D4FD4C #4CFDCD
split-complementary
#754CFD #FDCD4C #7CFD4C
monochromatic
#3102CC #460FFC #754CFD #A489FE #D2C5FE

Accessibility & contrast

On white

4.99
#754CFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#754CFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CFD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CFD#FFFFFF#000000##FFFFFF
##754CFD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#006AFA
Tritanopia (blue-blind)
#3A7BA0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #754cfd;
/* rgb */ color: rgb(117, 76, 253);
/* oklch */ color: oklch(56.9% 0.246 286.3);
Tailwind
colors: {
  custom: {
    50: '#a981ff',
    500: '#754cfd',
    950: '#000000',
  },
}
SCSS
$custom: #754cfd;
$custom-light: #a981ff;
$custom-dark: #000000;
JSON
{
  "hex": "#754cfd",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 253
  },
  "hsl": {
    "h": 253.898,
    "s": 97.79,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.24609,
    "h": 286.3
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#754CFD
secondary
#E3F1B4
accent
#E600B0
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #754CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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