#754ACC#754ACC

#754ACC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.191 H 294.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#754ACC
RGBrgb(117, 74, 204)
HSLhsl(260, 56%, 55%)
HSVhsv(260, 64%, 80%)
CMYKcmyk(42.6%, 63.7%, 0%, 20%)
CIE-LABlab(42.82, 47.19, -61.21)
CIE-LCHlch(42.82, 77.29, 307.63°)
OKLaboklab(52.74% 0.0781 -0.1748)
OKLCHoklch(52.74% 0.191 294.1)
XYZxyz(20.6810, 13.0386, 58.5421)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ACC #A1CC4A
analogous
#4A60CC #754ACC #B64ACC
triadic
#754ACC #CC754A #4ACC75
tetradic
#754ACC #CC4A60 #A1CC4A #4ACCB6
square
#754ACC #CC4A60 #A1CC4A #4ACCB6
split-complementary
#754ACC #CCB64A #60CC4A
monochromatic
#3F2279 #5830A9 #754ACC #997AD9 #BEA9E7

Accessibility & contrast

On white

5.82
#754ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#754ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ACC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ACC#FFFFFF#000000##FFFFFF
##754ACC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#5D6884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754acc;
/* rgb */ color: rgb(117, 74, 204);
/* oklch */ color: oklch(52.7% 0.191 294.1);
Tailwind
colors: {
  custom: {
    50: '#a37fdc',
    500: '#754acc',
    950: '#000000',
  },
}
SCSS
$custom: #754acc;
$custom-light: #a37fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#754acc",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 259.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.19141,
    "h": 294.1
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#754ACC
secondary
#C2D49D
accent
#DF48AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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