#754CA1#754CA1

#754CA1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.135 H 304.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#754CA1
RGBrgb(117, 76, 161)
HSLhsl(269, 36%, 46%)
HSVhsv(269, 53%, 63%)
CMYKcmyk(27.3%, 52.8%, 0%, 36.9%)
CIE-LABlab(40.45, 34.77, -39.77)
CIE-LCHlch(40.45, 52.83, 311.16°)
OKLaboklab(50.11% 0.0761 -0.1118)
OKLCHoklch(50.11% 0.135 304.2)
XYZxyz(16.3522, 11.5241, 35.0742)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CA1 #78A14C
analogous
#4C4EA1 #754CA1 #A04CA1
triadic
#754CA1 #A1754C #4CA175
tetradic
#754CA1 #A14C4E #78A14C #4CA1A0
square
#754CA1 #A14C4E #78A14C #4CA1A0
split-complementary
#754CA1 #A1A04C #4EA14C
monochromatic
#39254E #573877 #754CA1 #946FBB #B399CF

Accessibility & contrast

On white

6.35
#754CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#754CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CA1
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CA1#FFFFFF#000000##FFFFFF
##754CA11.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA4
Deuteranopia (green-blind)
#3D5F9F
Tritanopia (blue-blind)
#6D5C6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754ca1;
/* rgb */ color: rgb(117, 76, 161);
/* oklch */ color: oklch(50.1% 0.135 304.2);
Tailwind
colors: {
  custom: {
    50: '#9f7fbd',
    500: '#754ca1',
    950: '#000000',
  },
}
SCSS
$custom: #754ca1;
$custom-light: #9f7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#754ca1",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 268.941,
    "s": 35.865,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50111,
    "c": 0.13526,
    "h": 304.2
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#754CA1
secondary
#A5BB8E
accent
#CC5C96
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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