#754CCE#754CCE

#754CCE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.191 H 293.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#754CCE
RGBrgb(117, 76, 206)
HSLhsl(259, 57%, 55%)
HSVhsv(259, 63%, 81%)
CMYKcmyk(43.2%, 63.1%, 0%, 19.2%)
CIE-LABlab(43.37, 46.65, -61.48)
CIE-LCHlch(43.37, 77.17, 307.19°)
OKLaboklab(53.18% 0.0757 -0.1756)
OKLCHoklch(53.18% 0.191 293.3)
XYZxyz(21.0581, 13.4064, 59.8587)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CCE #A5CE4C
analogous
#4C64CE #754CCE #B64CCE
triadic
#754CCE #CE754C #4CCE75
tetradic
#754CCE #CE4C64 #A5CE4C #4CCEB6
square
#754CCE #CE4C64 #A5CE4C #4CCEB6
split-complementary
#754CCE #CEB64C #64CE4C
monochromatic
#3F227D #572FAD #754CCE #9A7CDB #BFACE8

Accessibility & contrast

On white

5.70
#754CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754CCE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CCE#FFFFFF#000000##FFFFFF
##754CCE1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#5C6A86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754cce;
/* rgb */ color: rgb(117, 76, 206);
/* oklch */ color: oklch(53.2% 0.191 293.3);
Tailwind
colors: {
  custom: {
    50: '#a380de',
    500: '#754cce',
    950: '#000000',
  },
}
SCSS
$custom: #754cce;
$custom-light: #a380de;
$custom-dark: #000000;
JSON
{
  "hex": "#754cce",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 258.923,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53184,
    "c": 0.19118,
    "h": 293.3
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#754CCE
secondary
#C5D6A0
accent
#E048B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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