#754ABF#754ABF

#754ABF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.176 H 296.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#754ABF
RGBrgb(117, 74, 191)
HSLhsl(262, 48%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(38.7%, 61.3%, 0%, 25.1%)
CIE-LABlab(41.91, 43.70, -55.15)
CIE-LCHlch(41.91, 70.36, 308.40°)
OKLaboklab(51.79% 0.079 -0.1569)
OKLCHoklch(51.79% 0.176 296.7)
XYZxyz(19.1865, 12.4407, 50.6706)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ABF #94BF4A
analogous
#4A5ABF #754ABF #AF4ABF
triadic
#754ABF #BF754A #4ABF75
tetradic
#754ABF #BF4A5A #94BF4A #4ABFAF
square
#754ABF #BF4A5A #94BF4A #4ABFAF
split-complementary
#754ABF #BFAF4A #5ABF4A
monochromatic
#3E2569 #593597 #754ABF #9777CF #BAA4DF

Accessibility & contrast

On white

6.02
#754ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#754ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ABF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ABF#FFFFFF#000000##FFFFFF
##754ABF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#63647D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754abf;
/* rgb */ color: rgb(117, 74, 191);
/* oklch */ color: oklch(51.8% 0.176 296.7);
Tailwind
colors: {
  custom: {
    50: '#a27ed3',
    500: '#754abf',
    950: '#000000',
  },
}
SCSS
$custom: #754abf;
$custom-light: #a27ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#754abf",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 262.051,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.17569,
    "h": 296.7
  },
  "luminance": 0.12441
}

Semantic roles & 50–950 ramp

primary
#754ABF
secondary
#B9CC99
accent
#D750A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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