#754CA3#754CA3

#754CA3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.138 H 303.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#754CA3
RGBrgb(117, 76, 163)
HSLhsl(268, 36%, 47%)
HSVhsv(268, 53%, 64%)
CMYKcmyk(28.2%, 53.4%, 0%, 36.1%)
CIE-LABlab(40.57, 35.28, -40.78)
CIE-LCHlch(40.57, 53.92, 310.86°)
OKLaboklab(50.24% 0.0762 -0.1148)
OKLCHoklch(50.24% 0.138 303.6)
XYZxyz(16.5300, 11.5952, 36.0105)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA3 #7AA34C
analogous
#4C4EA3 #754CA3 #A14CA3
triadic
#754CA3 #A3754C #4CA375
tetradic
#754CA3 #A34C4E #7AA34C #4CA3A1
square
#754CA3 #A34C4E #7AA34C #4CA3A1
split-complementary
#754CA3 #A3A14C #4EA34C
monochromatic
#392550 #573979 #754CA3 #9470BC #B39AD0

Accessibility & contrast

On white

6.33
#754CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#754CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CA3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA3#FFFFFF#000000##FFFFFF
##754CA31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#3B60A1
Tritanopia (blue-blind)
#6D5C70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #754ca3;
/* rgb */ color: rgb(117, 76, 163);
/* oklch */ color: oklch(50.2% 0.138 303.6);
Tailwind
colors: {
  custom: {
    50: '#9f7fbf',
    500: '#754ca3',
    950: '#000000',
  },
}
SCSS
$custom: #754ca3;
$custom-light: #9f7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca3",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 268.276,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.13779,
    "h": 303.6
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#754CA3
secondary
#A7BC8F
accent
#CC5B97
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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