#754CB1#754CB1

#754CB1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.155 H 299.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#754CB1
RGBrgb(117, 76, 177)
HSLhsl(264, 40%, 50%)
HSVhsv(264, 57%, 69%)
CMYKcmyk(33.9%, 57.1%, 0%, 30.6%)
CIE-LABlab(41.41, 38.88, -47.73)
CIE-LCHlch(41.41, 61.56, 309.17°)
OKLaboklab(51.13% 0.0768 -0.1351)
OKLCHoklch(51.13% 0.155 299.6)
XYZxyz(17.8545, 12.1250, 42.9862)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB1 #88B14C
analogous
#4C56B1 #754CB1 #A74CB1
triadic
#754CB1 #B1754C #4CB175
tetradic
#754CB1 #B14C56 #88B14C #4CB1A7
square
#754CB1 #B14C56 #88B14C #4CB1A7
split-complementary
#754CB1 #B1A74C #56B14C
monochromatic
#3C275B #593A86 #754CB1 #9676C4 #B7A1D7

Accessibility & contrast

On white

6.13
#754CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#754CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CB1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB1#FFFFFF#000000##FFFFFF
##754CB11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B4
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#686077
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754cb1;
/* rgb */ color: rgb(117, 76, 177);
/* oklch */ color: oklch(51.1% 0.155 299.6);
Tailwind
colors: {
  custom: {
    50: '#a07fc9',
    500: '#754cb1',
    950: '#000000',
  },
}
SCSS
$custom: #754cb1;
$custom-light: #a07fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb1",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 264.356,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51134,
    "c": 0.15545,
    "h": 299.6
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#754CB1
secondary
#B1C395
accent
#D0589F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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