#754FBD#754FBD

#754FBD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.4% C 0.166 H 296.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#754FBD
RGBrgb(117, 79, 189)
HSLhsl(261, 45%, 53%)
HSVhsv(261, 58%, 74%)
CMYKcmyk(38.1%, 58.2%, 0%, 25.9%)
CIE-LABlab(42.83, 40.36, -52.48)
CIE-LCHlch(42.83, 66.21, 307.56°)
OKLaboklab(52.42% 0.0731 -0.1491)
OKLCHoklch(52.42% 0.166 296.1)
XYZxyz(19.3150, 13.0476, 49.6351)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FBD #97BD4F
analogous
#4F60BD #754FBD #AC4FBD
triadic
#754FBD #BD754F #4FBD75
tetradic
#754FBD #BD4F60 #97BD4F #4FBDAC
square
#754FBD #BD4F60 #97BD4F #4FBDAC
split-complementary
#754FBD #BDAC4F #60BD4F
monochromatic
#3F286A #593896 #754FBD #987CCE #BBA8DE

Accessibility & contrast

On white

5.82
#754FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#754FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FBD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FBD#FFFFFF#000000##FFFFFF
##754FBD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#64667E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754fbd;
/* rgb */ color: rgb(117, 79, 189);
/* oklch */ color: oklch(52.4% 0.166 296.1);
Tailwind
colors: {
  custom: {
    50: '#a182d1',
    500: '#754fbd',
    950: '#000000',
  },
}
SCSS
$custom: #754fbd;
$custom-light: #a182d1;
$custom-dark: #000000;
JSON
{
  "hex": "#754fbd",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 260.727,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.16606,
    "h": 296.1
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#754FBD
secondary
#BBCC9C
accent
#D553A8
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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