#754BC0#754BC0

#754BC0 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.176 H 296.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#754BC0
RGBrgb(117, 75, 192)
HSLhsl(262, 48%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(39.1%, 60.9%, 0%, 24.7%)
CIE-LABlab(42.18, 43.42, -55.28)
CIE-LCHlch(42.18, 70.29, 308.14°)
OKLaboklab(52.01% 0.0778 -0.1573)
OKLCHoklch(52.01% 0.176 296.3)
XYZxyz(19.3642, 12.6195, 51.2745)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BC0 #96C04B
analogous
#4B5CC0 #754BC0 #AF4BC0
triadic
#754BC0 #C0754B #4BC075
tetradic
#754BC0 #C04B5C #96C04B #4BC0AF
square
#754BC0 #C04B5C #96C04B #4BC0AF
split-complementary
#754BC0 #C0AF4B #5CC04B
monochromatic
#3E256B #593598 #754BC0 #9878D0 #BBA6E0

Accessibility & contrast

On white

5.96
#754BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#754BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BC0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BC0#FFFFFF#000000##FFFFFF
##754BC01.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#63657E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754bc0;
/* rgb */ color: rgb(117, 75, 192);
/* oklch */ color: oklch(52.0% 0.176 296.3);
Tailwind
colors: {
  custom: {
    50: '#a27fd4',
    500: '#754bc0',
    950: '#000000',
  },
}
SCSS
$custom: #754bc0;
$custom-light: #a27fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#754bc0",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 261.538,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.17551,
    "h": 296.3
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#754BC0
secondary
#BBCD9A
accent
#D850A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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