#754CB2#754CB2

#754CB2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.157 H 299.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#754CB2
RGBrgb(117, 76, 178)
HSLhsl(264, 40%, 50%)
HSVhsv(264, 57%, 70%)
CMYKcmyk(34.3%, 57.3%, 0%, 30.2%)
CIE-LABlab(41.48, 39.14, -48.22)
CIE-LCHlch(41.48, 62.11, 309.07°)
OKLaboklab(51.2% 0.0768 -0.1366)
OKLCHoklch(51.2% 0.157 299.4)
XYZxyz(17.9545, 12.1650, 43.5130)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CB2 #89B24C
analogous
#4C56B2 #754CB2 #A84CB2
triadic
#754CB2 #B2754C #4CB275
tetradic
#754CB2 #B24C56 #89B24C #4CB2A8
square
#754CB2 #B24C56 #89B24C #4CB2A8
split-complementary
#754CB2 #B2A84C #56B24C
monochromatic
#3D275C #593A87 #754CB2 #9676C5 #B7A1D7

Accessibility & contrast

On white

6.12
#754CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#754CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CB2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CB2#FFFFFF#000000##FFFFFF
##754CB21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B5
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#686177
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754cb2;
/* rgb */ color: rgb(117, 76, 178);
/* oklch */ color: oklch(51.2% 0.157 299.4);
Tailwind
colors: {
  custom: {
    50: '#a080ca',
    500: '#754cb2',
    950: '#000000',
  },
}
SCSS
$custom: #754cb2;
$custom-light: #a080ca;
$custom-dark: #000000;
JSON
{
  "hex": "#754cb2",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 264.118,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.1567,
    "h": 299.4
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#754CB2
secondary
#B1C496
accent
#D058A0
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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