#754BBD#754BBD

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

Color values

HEX#754BBD
RGBrgb(117, 75, 189)
HSLhsl(262, 46%, 52%)
HSVhsv(262, 60%, 74%)
CMYKcmyk(38.1%, 60.3%, 0%, 25.9%)
CIE-LABlab(41.98, 42.61, -53.86)
CIE-LCHlch(41.98, 68.68, 308.35°)
OKLaboklab(51.8% 0.0779 -0.1531)
OKLCHoklch(51.8% 0.172 297)
XYZxyz(19.0352, 12.4879, 49.5418)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BBD #93BD4B
analogous
#4B5ABD #754BBD #AE4BBD
triadic
#754BBD #BD754B #4BBD75
tetradic
#754BBD #BD4B5A #93BD4B #4BBDAE
square
#754BBD #BD4B5A #93BD4B #4BBDAE
split-complementary
#754BBD #BDAE4B #5ABD4B
monochromatic
#3E2668 #593694 #754BBD #9778CD #BAA5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##754BBD#FFFFFF#000000##FFFFFF
##754BBD1.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)
#0064C1
Deuteranopia (green-blind)
#1962BA
Tritanopia (blue-blind)
#64647D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754bbd;
/* rgb */ color: rgb(117, 75, 189);
/* oklch */ color: oklch(51.8% 0.172 297.0);
Tailwind
colors: {
  custom: {
    50: '#a17fd2',
    500: '#754bbd',
    950: '#000000',
  },
}
SCSS
$custom: #754bbd;
$custom-light: #a17fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#754bbd",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 262.105,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.17183,
    "h": 297
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#754BBD
secondary
#B8CB99
accent
#D652A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #754BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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