#754DCB#754DCB

#754DCB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.186 H 293.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#754DCB
RGBrgb(117, 77, 203)
HSLhsl(259, 55%, 55%)
HSVhsv(259, 62%, 80%)
CMYKcmyk(42.4%, 62.1%, 0%, 20.4%)
CIE-LABlab(43.36, 45.28, -59.76)
CIE-LCHlch(43.36, 74.98, 307.15°)
OKLaboklab(53.11% 0.0749 -0.1705)
OKLCHoklch(53.11% 0.186 293.7)
XYZxyz(20.7666, 13.4009, 57.9808)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DCB #A3CB4D
analogous
#4D64CB #754DCB #B44DCB
triadic
#754DCB #CB754D #4DCB75
tetradic
#754DCB #CB4D64 #A3CB4D #4DCBB4
square
#754DCB #CB4D64 #A3CB4D #4DCBB4
split-complementary
#754DCB #CBB44D #64CB4D
monochromatic
#3F247A #5831A9 #754DCB #9A7CD9 #BEACE7

Accessibility & contrast

On white

5.71
#754DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#754DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DCB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DCB#FFFFFF#000000##FFFFFF
##754DCB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#5E6A85
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754dcb;
/* rgb */ color: rgb(117, 77, 203);
/* oklch */ color: oklch(53.1% 0.186 293.7);
Tailwind
colors: {
  custom: {
    50: '#a381dc',
    500: '#754dcb',
    950: '#000000',
  },
}
SCSS
$custom: #754dcb;
$custom-light: #a381dc;
$custom-dark: #000000;
JSON
{
  "hex": "#754dcb",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 259.048,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.18621,
    "h": 293.7
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#754DCB
secondary
#C4D49F
accent
#DE4AAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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