#754CBF#754CBF

#754CBF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.173 H 296.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#754CBF
RGBrgb(117, 76, 191)
HSLhsl(261, 47%, 52%)
HSVhsv(261, 60%, 75%)
CMYKcmyk(38.7%, 60.2%, 0%, 25.1%)
CIE-LABlab(42.33, 42.59, -54.47)
CIE-LCHlch(42.33, 69.15, 308.02°)
OKLaboklab(52.09% 0.0767 -0.1549)
OKLCHoklch(52.09% 0.173 296.3)
XYZxyz(19.3221, 12.7120, 50.7158)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CBF #96BF4C
analogous
#4C5DBF #754CBF #AE4CBF
triadic
#754CBF #BF754C #4CBF75
tetradic
#754CBF #BF4C5D #96BF4C #4CBFAE
square
#754CBF #BF4C5D #96BF4C #4CBFAE
split-complementary
#754CBF #BFAE4C #5DBF4C
monochromatic
#3E266B #593698 #754CBF #9879CF #BBA6DF

Accessibility & contrast

On white

5.93
#754CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754CBF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CBF#FFFFFF#000000##FFFFFF
##754CBF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#63657E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754cbf;
/* rgb */ color: rgb(117, 76, 191);
/* oklch */ color: oklch(52.1% 0.173 296.3);
Tailwind
colors: {
  custom: {
    50: '#a280d3',
    500: '#754cbf',
    950: '#000000',
  },
}
SCSS
$custom: #754cbf;
$custom-light: #a280d3;
$custom-dark: #000000;
JSON
{
  "hex": "#754cbf",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 261.391,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.17287,
    "h": 296.3
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#754CBF
secondary
#BBCC9A
accent
#D751A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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