#754AFD#754AFD

#754AFD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.248 H 286.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#754AFD
RGBrgb(117, 74, 253)
HSLhsl(254, 98%, 64%)
HSVhsv(254, 71%, 99%)
CMYKcmyk(53.8%, 70.8%, 0%, 0.8%)
CIE-LABlab(46.67, 60.60, -82.72)
CIE-LCHlch(46.67, 102.55, 306.23°)
OKLaboklab(56.69% 0.0705 -0.2379)
OKLCHoklch(56.69% 0.248 286.5)
XYZxyz(27.5092, 15.7698, 94.5038)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AFD #D2FD4A
analogous
#4A79FD #754AFD #CE4AFD
triadic
#754AFD #FD754A #4AFD75
tetradic
#754AFD #FD4A79 #D2FD4A #4AFDCE
square
#754AFD #FD4A79 #D2FD4A #4AFDCE
split-complementary
#754AFD #FDCE4A #79FD4A
monochromatic
#3202CA #470DFC #754AFD #A387FE #D1C3FE

Accessibility & contrast

On white

5.06
#754AFD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#754AFD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754AFD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AFD#FFFFFF#000000##FFFFFF
##754AFD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0069FA
Tritanopia (blue-blind)
#3A7A9F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #754afd;
/* rgb */ color: rgb(117, 74, 253);
/* oklch */ color: oklch(56.7% 0.248 286.5);
Tailwind
colors: {
  custom: {
    50: '#a980ff',
    500: '#754afd',
    950: '#000000',
  },
}
SCSS
$custom: #754afd;
$custom-light: #a980ff;
$custom-dark: #000000;
JSON
{
  "hex": "#754afd",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 253
  },
  "hsl": {
    "h": 254.413,
    "s": 97.814,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.24818,
    "h": 286.5
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#754AFD
secondary
#E2F1B2
accent
#E600AE
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #754AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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