#754FCC#754FCC

#754FCC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.185 H 293.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#754FCC
RGBrgb(117, 79, 204)
HSLhsl(258, 55%, 55%)
HSVhsv(258, 61%, 80%)
CMYKcmyk(42.6%, 61.3%, 0%, 20%)
CIE-LABlab(43.85, 44.44, -59.55)
CIE-LCHlch(43.85, 74.31, 306.73°)
OKLaboklab(53.49% 0.0726 -0.1699)
OKLCHoklch(53.49% 0.185 293.1)
XYZxyz(21.0282, 13.7329, 58.6578)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FCC #A6CC4F
analogous
#4F67CC #754FCC #B34FCC
triadic
#754FCC #CC754F #4FCC75
tetradic
#754FCC #CC4F67 #A6CC4F #4FCCB3
square
#754FCC #CC4F67 #A6CC4F #4FCCB3
split-complementary
#754FCC #CCB34F #67CC4F
monochromatic
#3F247D #5732AC #754FCC #9A7EDA #BFAEE7

Accessibility & contrast

On white

5.60
#754FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#754FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FCC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FCC#FFFFFF#000000##FFFFFF
##754FCC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#5D6B86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754fcc;
/* rgb */ color: rgb(117, 79, 204);
/* oklch */ color: oklch(53.5% 0.185 293.1);
Tailwind
colors: {
  custom: {
    50: '#a382dc',
    500: '#754fcc',
    950: '#000000',
  },
}
SCSS
$custom: #754fcc;
$custom-light: #a382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#754fcc",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 258.24,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.18474,
    "h": 293.1
  },
  "luminance": 0.13734
}

Semantic roles & 50–950 ramp

primary
#754FCC
secondary
#C6D5A1
accent
#DE49B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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