#754CBA#754CBA

#754CBA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.167 H 297.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#754CBA
RGBrgb(117, 76, 186)
HSLhsl(262, 44%, 51%)
HSVhsv(262, 59%, 73%)
CMYKcmyk(37.1%, 59.1%, 0%, 27.1%)
CIE-LABlab(41.99, 41.26, -52.09)
CIE-LCHlch(41.99, 66.45, 308.38°)
OKLaboklab(51.74% 0.0768 -0.1479)
OKLCHoklch(51.74% 0.167 297.4)
XYZxyz(18.7812, 12.4957, 47.8673)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CBA #91BA4C
analogous
#4C5ABA #754CBA #AC4CBA
triadic
#754CBA #BA754C #4CBA75
tetradic
#754CBA #BA4C5A #91BA4C #4CBAAC
square
#754CBA #BA4C5A #91BA4C #4CBAAC
split-complementary
#754CBA #BAAC4C #5ABA4C
monochromatic
#3E2765 #593891 #754CBA #9778CB #B9A4DC

Accessibility & contrast

On white

6.00
#754CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#754CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CBA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CBA#FFFFFF#000000##FFFFFF
##754CBA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0863BE
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#65637C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754cba;
/* rgb */ color: rgb(117, 76, 186);
/* oklch */ color: oklch(51.7% 0.167 297.4);
Tailwind
colors: {
  custom: {
    50: '#a180cf',
    500: '#754cba',
    950: '#000000',
  },
}
SCSS
$custom: #754cba;
$custom-light: #a180cf;
$custom-dark: #000000;
JSON
{
  "hex": "#754cba",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 262.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51744,
    "c": 0.16668,
    "h": 297.4
  },
  "luminance": 0.12496
}

Semantic roles & 50–950 ramp

primary
#754CBA
secondary
#B7C999
accent
#D454A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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