#754CC3#754CC3

#754CC3 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.178 H 295.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#754CC3
RGBrgb(117, 76, 195)
HSLhsl(261, 50%, 53%)
HSVhsv(261, 61%, 76%)
CMYKcmyk(40%, 61%, 0%, 23.5%)
CIE-LABlab(42.60, 43.67, -56.36)
CIE-LCHlch(42.60, 71.30, 307.77°)
OKLaboklab(52.38% 0.0765 -0.1605)
OKLCHoklch(52.38% 0.178 295.5)
XYZxyz(19.7683, 12.8905, 53.0658)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CC3 #9AC34C
analogous
#4C5EC3 #754CC3 #B04CC3
triadic
#754CC3 #C3754C #4CC375
tetradic
#754CC3 #C34C5E #9AC34C #4CC3B0
square
#754CC3 #C34C5E #9AC34C #4CC3B0
split-complementary
#754CC3 #C3B04C #5EC34C
monochromatic
#3F256F #59359D #754CC3 #987AD2 #BCA8E2

Accessibility & contrast

On white

5.87
#754CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#754CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CC3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CC3#FFFFFF#000000##FFFFFF
##754CC31.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0A63C0
Tritanopia (blue-blind)
#616680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754cc3;
/* rgb */ color: rgb(117, 76, 195);
/* oklch */ color: oklch(52.4% 0.178 295.5);
Tailwind
colors: {
  custom: {
    50: '#a280d6',
    500: '#754cc3',
    950: '#000000',
  },
}
SCSS
$custom: #754cc3;
$custom-light: #a280d6;
$custom-dark: #000000;
JSON
{
  "hex": "#754cc3",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 260.672,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.17779,
    "h": 295.5
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#754CC3
secondary
#BDCF9C
accent
#D94EA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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