#754BC3#754BC3

#754BC3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.179 H 295.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#754BC3
RGBrgb(117, 75, 195)
HSLhsl(261, 50%, 53%)
HSVhsv(261, 62%, 76%)
CMYKcmyk(40%, 61.5%, 0%, 23.5%)
CIE-LABlab(42.39, 44.22, -56.70)
CIE-LCHlch(42.39, 71.90, 307.95°)
OKLaboklab(52.23% 0.0776 -0.1615)
OKLCHoklch(52.23% 0.179 295.7)
XYZxyz(19.6999, 12.7538, 53.0430)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BC3 #99C34B
analogous
#4B5DC3 #754BC3 #B14BC3
triadic
#754BC3 #C3754B #4BC375
tetradic
#754BC3 #C34B5D #99C34B #4BC3B1
square
#754BC3 #C34B5D #99C34B #4BC3B1
split-complementary
#754BC3 #C3B14B #5DC34B
monochromatic
#3F256F #59349D #754BC3 #9879D2 #BBA7E2

Accessibility & contrast

On white

5.91
#754BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#754BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BC3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BC3#FFFFFF#000000##FFFFFF
##754BC31.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0562C0
Tritanopia (blue-blind)
#616680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754bc3;
/* rgb */ color: rgb(117, 75, 195);
/* oklch */ color: oklch(52.2% 0.179 295.7);
Tailwind
colors: {
  custom: {
    50: '#a27fd6',
    500: '#754bc3',
    950: '#000000',
  },
}
SCSS
$custom: #754bc3;
$custom-light: #a27fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#754bc3",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 261,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.17918,
    "h": 295.7
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#754BC3
secondary
#BDCF9B
accent
#DA4EA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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