#754DBB#754DBB

#754DBB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.166 H 297.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#754DBB
RGBrgb(117, 77, 187)
HSLhsl(262, 45%, 52%)
HSVhsv(262, 59%, 73%)
CMYKcmyk(37.4%, 58.8%, 0%, 26.7%)
CIE-LABlab(42.27, 40.96, -52.22)
CIE-LCHlch(42.27, 66.37, 308.11°)
OKLaboklab(51.97% 0.0756 -0.1483)
OKLCHoklch(51.97% 0.166 297)
XYZxyz(18.9574, 12.6772, 48.4522)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DBB #93BB4D
analogous
#4D5CBB #754DBB #AC4DBB
triadic
#754DBB #BB754D #4DBB75
tetradic
#754DBB #BB4D5C #93BB4D #4DBBAC
square
#754DBB #BB4D5C #93BB4D #4DBBAC
split-complementary
#754DBB #BBAC4D #5CBB4D
monochromatic
#3E2766 #593893 #754DBB #9779CC #BAA6DD

Accessibility & contrast

On white

5.94
#754DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#754DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DBB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DBB#FFFFFF#000000##FFFFFF
##754DBB1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#2262B9
Tritanopia (blue-blind)
#65647C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754dbb;
/* rgb */ color: rgb(117, 77, 187);
/* oklch */ color: oklch(52.0% 0.166 297.0);
Tailwind
colors: {
  custom: {
    50: '#a180d0',
    500: '#754dbb',
    950: '#000000',
  },
}
SCSS
$custom: #754dbb;
$custom-light: #a180d0;
$custom-dark: #000000;
JSON
{
  "hex": "#754dbb",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 261.818,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.16646,
    "h": 297
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#754DBB
secondary
#B8CA9A
accent
#D453A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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