#754BBE#754BBE

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

Color values

HEX#754BBE
RGBrgb(117, 75, 190)
HSLhsl(262, 47%, 52%)
HSVhsv(262, 61%, 75%)
CMYKcmyk(38.4%, 60.5%, 0%, 25.5%)
CIE-LABlab(42.05, 42.88, -54.34)
CIE-LCHlch(42.05, 69.22, 308.28°)
OKLaboklab(51.87% 0.0779 -0.1545)
OKLCHoklch(51.87% 0.173 296.7)
XYZxyz(19.1441, 12.5314, 50.1154)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BBE #94BE4B
analogous
#4B5BBE #754BBE #AF4BBE
triadic
#754BBE #BE754B #4BBE75
tetradic
#754BBE #BE4B5B #94BE4B #4BBEAF
square
#754BBE #BE4B5B #94BE4B #4BBEAF
split-complementary
#754BBE #BEAF4B #5BBE4B
monochromatic
#3E2669 #593696 #754BBE #9778CE #BAA5DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##754BBE#FFFFFF#000000##FFFFFF
##754BBE1.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)
#0064C2
Deuteranopia (green-blind)
#1762BB
Tritanopia (blue-blind)
#63647D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754bbe;
/* rgb */ color: rgb(117, 75, 190);
/* oklch */ color: oklch(51.9% 0.173 296.7);
Tailwind
colors: {
  custom: {
    50: '#a27fd2',
    500: '#754bbe',
    950: '#000000',
  },
}
SCSS
$custom: #754bbe;
$custom-light: #a27fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#754bbe",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 261.913,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.17306,
    "h": 296.7
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#754BBE
secondary
#B9CC99
accent
#D751A6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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