#754DCA#754DCA

#754DCA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.185 H 293.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#754DCA
RGBrgb(117, 77, 202)
HSLhsl(259, 54%, 55%)
HSVhsv(259, 62%, 79%)
CMYKcmyk(42.1%, 61.9%, 0%, 20.8%)
CIE-LABlab(43.29, 45.01, -59.30)
CIE-LCHlch(43.29, 74.44, 307.20°)
OKLaboklab(53.04% 0.0749 -0.1691)
OKLCHoklch(53.04% 0.185 293.9)
XYZxyz(20.6478, 13.3534, 57.3552)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DCA #A2CA4D
analogous
#4D64CA #754DCA #B44DCA
triadic
#754DCA #CA754D #4DCA75
tetradic
#754DCA #CA4D64 #A2CA4D #4DCAB4
square
#754DCA #CA4D64 #A2CA4D #4DCAB4
split-complementary
#754DCA #CAB44D #64CA4D
monochromatic
#3F2479 #5832A8 #754DCA #9A7CD8 #BEABE6

Accessibility & contrast

On white

5.72
#754DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#754DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DCA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DCA#FFFFFF#000000##FFFFFF
##754DCA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#5E6984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754dca;
/* rgb */ color: rgb(117, 77, 202);
/* oklch */ color: oklch(53.0% 0.185 293.9);
Tailwind
colors: {
  custom: {
    50: '#a381db',
    500: '#754dca',
    950: '#000000',
  },
}
SCSS
$custom: #754dca;
$custom-light: #a381db;
$custom-dark: #000000;
JSON
{
  "hex": "#754dca",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 259.2,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.18499,
    "h": 293.9
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#754DCA
secondary
#C3D49F
accent
#DD4AAE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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