#754CBB#754CBB

#754CBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.168 H 297.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#754CBB
RGBrgb(117, 76, 187)
HSLhsl(262, 45%, 52%)
HSVhsv(262, 59%, 73%)
CMYKcmyk(37.4%, 59.4%, 0%, 26.7%)
CIE-LABlab(42.06, 41.52, -52.56)
CIE-LCHlch(42.06, 66.99, 308.31°)
OKLaboklab(51.81% 0.0768 -0.1493)
OKLCHoklch(51.81% 0.168 297.2)
XYZxyz(18.8879, 12.5384, 48.4291)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CBB #92BB4C
analogous
#4C5BBB #754CBB #AD4CBB
triadic
#754CBB #BB754C #4CBB75
tetradic
#754CBB #BB4C5B #92BB4C #4CBBAD
square
#754CBB #BB4C5B #92BB4C #4CBBAD
split-complementary
#754CBB #BBAD4C #5BBB4C
monochromatic
#3E2766 #593892 #754CBB #9778CC #B9A5DD

Accessibility & contrast

On white

5.99
#754CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#754CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CBB
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CBB#FFFFFF#000000##FFFFFF
##754CBB1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#65647C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754cbb;
/* rgb */ color: rgb(117, 76, 187);
/* oklch */ color: oklch(51.8% 0.168 297.2);
Tailwind
colors: {
  custom: {
    50: '#a180d0',
    500: '#754cbb',
    950: '#000000',
  },
}
SCSS
$custom: #754cbb;
$custom-light: #a180d0;
$custom-dark: #000000;
JSON
{
  "hex": "#754cbb",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 262.162,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.16792,
    "h": 297.2
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#754CBB
secondary
#B8CA99
accent
#D553A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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