#754BB8#754BB8

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

Color values

HEX#754BB8
RGBrgb(117, 75, 184)
HSLhsl(263, 43%, 51%)
HSVhsv(263, 59%, 72%)
CMYKcmyk(36.4%, 59.2%, 0%, 27.8%)
CIE-LABlab(41.65, 41.29, -51.47)
CIE-LCHlch(41.65, 65.98, 308.74°)
OKLaboklab(51.45% 0.0781 -0.1461)
OKLCHoklch(51.45% 0.166 298.1)
XYZxyz(18.5018, 12.2745, 46.7326)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BB8 #8EB84B
analogous
#4B57B8 #754BB8 #AB4BB8
triadic
#754BB8 #B8754B #4BB875
tetradic
#754BB8 #B84B57 #8EB84B #4BB8AB
square
#754BB8 #B84B57 #8EB84B #4BB8AB
split-complementary
#754BB8 #B8AB4B #57B84B
monochromatic
#3D2762 #59388E #754BB8 #9777C9 #B8A3DB

Accessibility & contrast

On white

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

On black

3.46
#754BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##754BB8#FFFFFF#000000##FFFFFF
##754BB81.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A62BC
Deuteranopia (green-blind)
#2361B6
Tritanopia (blue-blind)
#66627A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754bb8;
/* rgb */ color: rgb(117, 75, 184);
/* oklch */ color: oklch(51.5% 0.166 298.1);
Tailwind
colors: {
  custom: {
    50: '#a17fce',
    500: '#754bb8',
    950: '#000000',
  },
}
SCSS
$custom: #754bb8;
$custom-light: #a17fce;
$custom-dark: #000000;
JSON
{
  "hex": "#754bb8",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 263.119,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.16566,
    "h": 298.1
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#754BB8
secondary
#B5C897
accent
#D355A2
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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