#754FC7#754FC7

#754FC7 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.179 H 294.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#754FC7
RGBrgb(117, 79, 199)
HSLhsl(259, 52%, 55%)
HSVhsv(259, 60%, 78%)
CMYKcmyk(41.2%, 60.3%, 0%, 22%)
CIE-LABlab(43.50, 43.07, -57.22)
CIE-LCHlch(43.50, 71.62, 306.97°)
OKLaboklab(53.13% 0.0728 -0.163)
OKLCHoklch(53.13% 0.179 294.1)
XYZxyz(20.4382, 13.4969, 55.5501)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FC7 #A1C74F
analogous
#4F65C7 #754FC7 #B14FC7
triadic
#754FC7 #C7754F #4FC775
tetradic
#754FC7 #C74F65 #A1C74F #4FC7B1
square
#754FC7 #C74F65 #A1C74F #4FC7B1
split-complementary
#754FC7 #C7B14F #65C74F
monochromatic
#3F2676 #5834A4 #754FC7 #997DD6 #BEACE5

Accessibility & contrast

On white

5.68
#754FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#754FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FC7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FC7#FFFFFF#000000##FFFFFF
##754FC71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#0865C4
Tritanopia (blue-blind)
#5F6A83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754fc7;
/* rgb */ color: rgb(117, 79, 199);
/* oklch */ color: oklch(53.1% 0.179 294.1);
Tailwind
colors: {
  custom: {
    50: '#a282d9',
    500: '#754fc7',
    950: '#000000',
  },
}
SCSS
$custom: #754fc7;
$custom-light: #a282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#754fc7",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 259,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.17855,
    "h": 294.1
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#754FC7
secondary
#C2D2A0
accent
#DB4DAE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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