#754BC7#754BC7

#754BC7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.184 H 294.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#754BC7
RGBrgb(117, 75, 199)
HSLhsl(260, 53%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(41.2%, 62.3%, 0%, 22%)
CIE-LABlab(42.67, 45.30, -58.57)
CIE-LCHlch(42.67, 74.04, 307.72°)
OKLaboklab(52.52% 0.0774 -0.167)
OKLCHoklch(52.52% 0.184 294.9)
XYZxyz(20.1583, 12.9371, 55.4568)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BC7 #9DC74B
analogous
#4B5FC7 #754BC7 #B34BC7
triadic
#754BC7 #C7754B #4BC775
tetradic
#754BC7 #C74B5F #9DC74B #4BC7B3
square
#754BC7 #C74B5F #9DC74B #4BC7B3
split-complementary
#754BC7 #C7B34B #5FC74B
monochromatic
#3F2474 #5832A2 #754BC7 #997AD6 #BDA8E4

Accessibility & contrast

On white

5.85
#754BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#754BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BC7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BC7#FFFFFF#000000##FFFFFF
##754BC71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#606782
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754bc7;
/* rgb */ color: rgb(117, 75, 199);
/* oklch */ color: oklch(52.5% 0.184 294.9);
Tailwind
colors: {
  custom: {
    50: '#a27fd9',
    500: '#754bc7',
    950: '#000000',
  },
}
SCSS
$custom: #754bc7;
$custom-light: #a27fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#754bc7",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 260.323,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.18404,
    "h": 294.9
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#754BC7
secondary
#BFD19C
accent
#DC4CAB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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