#754FD5#754FD5

#754FD5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.196 H 291.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#754FD5
RGBrgb(117, 79, 213)
HSLhsl(257, 61%, 57%)
HSVhsv(257, 63%, 84%)
CMYKcmyk(45.1%, 62.9%, 0%, 16.5%)
CIE-LABlab(44.49, 46.92, -63.69)
CIE-LCHlch(44.49, 79.11, 306.38°)
OKLaboklab(54.15% 0.0719 -0.1821)
OKLCHoklch(54.15% 0.196 291.6)
XYZxyz(22.1390, 14.1772, 64.5079)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FD5 #AFD54F
analogous
#4F6CD5 #754FD5 #B84FD5
triadic
#754FD5 #D5754F #4FD575
tetradic
#754FD5 #D54F6C #AFD54F #4FD5B8
square
#754FD5 #D54F6C #AFD54F #4FD5B8
split-complementary
#754FD5 #D5B84F #6CD54F
monochromatic
#3E2189 #552CBA #754FD5 #9C80E1 #C2B2ED

Accessibility & contrast

On white

5.48
#754FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#754FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FD5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FD5#FFFFFF#000000##FFFFFF
##754FD51.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#586E8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754fd5;
/* rgb */ color: rgb(117, 79, 213);
/* oklch */ color: oklch(54.2% 0.196 291.6);
Tailwind
colors: {
  custom: {
    50: '#a482e3',
    500: '#754fd5',
    950: '#000000',
  },
}
SCSS
$custom: #754fd5;
$custom-light: #a482e3;
$custom-dark: #000000;
JSON
{
  "hex": "#754fd5",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 257.015,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.19574,
    "h": 291.6
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#754FD5
secondary
#CCDBA5
accent
#E543B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #754FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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