#754BC6#754BC6

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

Color values

HEX#754BC6
RGBrgb(117, 75, 198)
HSLhsl(260, 52%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(40.9%, 62.1%, 0%, 22.4%)
CIE-LABlab(42.60, 45.03, -58.10)
CIE-LCHlch(42.60, 73.51, 307.77°)
OKLaboklab(52.45% 0.0774 -0.1656)
OKLCHoklch(52.45% 0.183 295.1)
XYZxyz(20.0425, 12.8908, 54.8473)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BC6 #9CC64B
analogous
#4B5EC6 #754BC6 #B24BC6
triadic
#754BC6 #C6754B #4BC675
tetradic
#754BC6 #C64B5E #9CC64B #4BC6B2
square
#754BC6 #C64B5E #9CC64B #4BC6B2
split-complementary
#754BC6 #C6B24B #5EC64B
monochromatic
#3F2472 #5833A1 #754BC6 #9979D5 #BCA8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##754BC6#FFFFFF#000000##FFFFFF
##754BC61.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)
#0066CA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#606781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754bc6;
/* rgb */ color: rgb(117, 75, 198);
/* oklch */ color: oklch(52.4% 0.183 295.1);
Tailwind
colors: {
  custom: {
    50: '#a27fd8',
    500: '#754bc6',
    950: '#000000',
  },
}
SCSS
$custom: #754bc6;
$custom-light: #a27fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#754bc6",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 260.488,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.18283,
    "h": 295.1
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#754BC6
secondary
#BFD19C
accent
#DB4CAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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