#754CCA#754CCA

#754CCA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.186 H 294.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#754CCA
RGBrgb(117, 76, 202)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 62%, 79%)
CMYKcmyk(42.1%, 62.4%, 0%, 20.8%)
CIE-LABlab(43.08, 45.56, -59.63)
CIE-LCHlch(43.08, 75.04, 307.38°)
OKLaboklab(52.89% 0.076 -0.1701)
OKLCHoklch(52.89% 0.186 294.1)
XYZxyz(20.5784, 13.2145, 57.3321)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CCA #A1CA4C
analogous
#4C62CA #754CCA #B44CCA
triadic
#754CCA #CA754C #4CCA75
tetradic
#754CCA #CA4C62 #A1CA4C #4CCAB4
square
#754CCA #CA4C62 #A1CA4C #4CCAB4
split-complementary
#754CCA #CAB44C #62CA4C
monochromatic
#3F2478 #5832A7 #754CCA #997BD8 #BEAAE6

Accessibility & contrast

On white

5.76
#754CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#754CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CCA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CCA#FFFFFF#000000##FFFFFF
##754CCA1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754cca;
/* rgb */ color: rgb(117, 76, 202);
/* oklch */ color: oklch(52.9% 0.186 294.1);
Tailwind
colors: {
  custom: {
    50: '#a380db',
    500: '#754cca',
    950: '#000000',
  },
}
SCSS
$custom: #754cca;
$custom-light: #a380db;
$custom-dark: #000000;
JSON
{
  "hex": "#754cca",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 259.524,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.18634,
    "h": 294.1
  },
  "luminance": 0.13215
}

Semantic roles & 50–950 ramp

primary
#754CCA
secondary
#C2D49E
accent
#DE4AAE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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