#754AC2#754AC2

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

Color values

HEX#754AC2
RGBrgb(117, 74, 194)
HSLhsl(262, 50%, 53%)
HSVhsv(262, 62%, 76%)
CMYKcmyk(39.7%, 61.9%, 0%, 23.9%)
CIE-LABlab(42.11, 44.50, -56.56)
CIE-LCHlch(42.11, 71.97, 308.20°)
OKLaboklab(52.01% 0.0788 -0.1611)
OKLCHoklch(52.01% 0.179 296.1)
XYZxyz(19.5200, 12.5741, 52.4271)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754AC2 #97C24A
analogous
#4A5BC2 #754AC2 #B14AC2
triadic
#754AC2 #C2754A #4AC275
tetradic
#754AC2 #C24A5B #97C24A #4AC2B1
square
#754AC2 #C24A5B #97C24A #4AC2B1
split-complementary
#754AC2 #C2B14A #5BC24A
monochromatic
#3F256D #59349B #754AC2 #9878D1 #BBA6E1

Accessibility & contrast

On white

5.97
#754AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754AC2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754AC2#FFFFFF#000000##FFFFFF
##754AC21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0462BF
Tritanopia (blue-blind)
#62657F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754ac2;
/* rgb */ color: rgb(117, 74, 194);
/* oklch */ color: oklch(52.0% 0.179 296.1);
Tailwind
colors: {
  custom: {
    50: '#a27fd5',
    500: '#754ac2',
    950: '#000000',
  },
}
SCSS
$custom: #754ac2;
$custom-light: #a27fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#754ac2",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 261.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.17934,
    "h": 296.1
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#754AC2
secondary
#BBCE9A
accent
#D94FA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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