#754ABB#754ABB

#754ABB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.171 H 297.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#754ABB
RGBrgb(117, 74, 187)
HSLhsl(263, 45%, 51%)
HSVhsv(263, 60%, 73%)
CMYKcmyk(37.4%, 60.4%, 0%, 26.7%)
CIE-LABlab(41.64, 42.64, -53.24)
CIE-LCHlch(41.64, 68.21, 308.69°)
OKLaboklab(51.51% 0.0792 -0.1513)
OKLCHoklch(51.51% 0.171 297.6)
XYZxyz(18.7523, 12.2670, 48.3839)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ABB #90BB4A
analogous
#4A57BB #754ABB #AD4ABB
triadic
#754ABB #BB754A #4ABB75
tetradic
#754ABB #BB4A57 #90BB4A #4ABBAD
square
#754ABB #BB4A57 #90BB4A #4ABBAD
split-complementary
#754ABB #BBAD4A #57BB4A
monochromatic
#3E2665 #593791 #754ABB #9776CC #B9A3DC

Accessibility & contrast

On white

6.08
#754ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#754ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ABB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ABB#FFFFFF#000000##FFFFFF
##754ABB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#65627B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754abb;
/* rgb */ color: rgb(117, 74, 187);
/* oklch */ color: oklch(51.5% 0.171 297.6);
Tailwind
colors: {
  custom: {
    50: '#a17ed0',
    500: '#754abb',
    950: '#000000',
  },
}
SCSS
$custom: #754abb;
$custom-light: #a17ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#754abb",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 262.832,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.1708,
    "h": 297.6
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#754ABB
secondary
#B6C997
accent
#D553A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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