#754FC5#754FC5

#754FC5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.176 H 294.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#754FC5
RGBrgb(117, 79, 197)
HSLhsl(259, 50%, 54%)
HSVhsv(259, 60%, 77%)
CMYKcmyk(40.6%, 59.9%, 0%, 22.7%)
CIE-LABlab(43.37, 42.53, -56.28)
CIE-LCHlch(43.37, 70.54, 307.08°)
OKLaboklab(52.98% 0.0729 -0.1603)
OKLCHoklch(52.98% 0.176 294.5)
XYZxyz(20.2075, 13.4046, 54.3352)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FC5 #9FC54F
analogous
#4F64C5 #754FC5 #B04FC5
triadic
#754FC5 #C5754F #4FC575
tetradic
#754FC5 #C54F64 #9FC54F #4FC5B0
square
#754FC5 #C54F64 #9FC54F #4FC5B0
split-complementary
#754FC5 #C5B04F #64C54F
monochromatic
#3F2674 #5835A2 #754FC5 #997DD4 #BDABE3

Accessibility & contrast

On white

5.70
#754FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#754FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FC5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FC5#FFFFFF#000000##FFFFFF
##754FC51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#1065C2
Tritanopia (blue-blind)
#606982
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754fc5;
/* rgb */ color: rgb(117, 79, 197);
/* oklch */ color: oklch(53.0% 0.176 294.5);
Tailwind
colors: {
  custom: {
    50: '#a282d7',
    500: '#754fc5',
    950: '#000000',
  },
}
SCSS
$custom: #754fc5;
$custom-light: #a282d7;
$custom-dark: #000000;
JSON
{
  "hex": "#754fc5",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 259.322,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.17607,
    "h": 294.5
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#754FC5
secondary
#C1D19F
accent
#DA4EAD
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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