#754ABA#754ABA

#754ABA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.170 H 297.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#754ABA
RGBrgb(117, 74, 186)
HSLhsl(263, 45%, 51%)
HSVhsv(263, 60%, 73%)
CMYKcmyk(37.1%, 60.2%, 0%, 27.1%)
CIE-LABlab(41.57, 42.38, -52.77)
CIE-LCHlch(41.57, 67.68, 308.77°)
OKLaboklab(51.43% 0.0792 -0.1499)
OKLCHoklch(51.43% 0.17 297.9)
XYZxyz(18.6456, 12.2244, 47.8220)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ABA #8FBA4A
analogous
#4A57BA #754ABA #AD4ABA
triadic
#754ABA #BA754A #4ABA75
tetradic
#754ABA #BA4A57 #8FBA4A #4ABAAD
square
#754ABA #BA4A57 #8FBA4A #4ABAAD
split-complementary
#754ABA #BAAD4A #57BA4A
monochromatic
#3E2664 #593790 #754ABA #9776CB #B9A3DC

Accessibility & contrast

On white

6.10
#754ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754ABA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ABA#FFFFFF#000000##FFFFFF
##754ABA1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#65627B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754aba;
/* rgb */ color: rgb(117, 74, 186);
/* oklch */ color: oklch(51.4% 0.170 297.9);
Tailwind
colors: {
  custom: {
    50: '#a17ecf',
    500: '#754aba',
    950: '#000000',
  },
}
SCSS
$custom: #754aba;
$custom-light: #a17ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#754aba",
  "rgb": {
    "r": 117,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 263.036,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.16957,
    "h": 297.9
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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