#754DC2#754DC2

#754DC2 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.175 H 295.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#754DC2
RGBrgb(117, 77, 194)
HSLhsl(261, 49%, 53%)
HSVhsv(261, 60%, 76%)
CMYKcmyk(39.7%, 60.3%, 0%, 23.9%)
CIE-LABlab(42.74, 42.84, -55.55)
CIE-LCHlch(42.74, 70.15, 307.64°)
OKLaboklab(52.46% 0.0754 -0.1581)
OKLCHoklch(52.46% 0.175 295.5)
XYZxyz(19.7251, 12.9843, 52.4955)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DC2 #9AC24D
analogous
#4D5FC2 #754DC2 #AF4DC2
triadic
#754DC2 #C2754D #4DC275
tetradic
#754DC2 #C24D5F #9AC24D #4DC2AF
square
#754DC2 #C24D5F #9AC24D #4DC2AF
split-complementary
#754DC2 #C2AF4D #5FC24D
monochromatic
#3F266F #59369C #754DC2 #987BD2 #BCA8E1

Accessibility & contrast

On white

5.84
#754DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#754DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DC2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DC2#FFFFFF#000000##FFFFFF
##754DC21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#1263BF
Tritanopia (blue-blind)
#626780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754dc2;
/* rgb */ color: rgb(117, 77, 194);
/* oklch */ color: oklch(52.5% 0.175 295.5);
Tailwind
colors: {
  custom: {
    50: '#a280d5',
    500: '#754dc2',
    950: '#000000',
  },
}
SCSS
$custom: #754dc2;
$custom-light: #a280d5;
$custom-dark: #000000;
JSON
{
  "hex": "#754dc2",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 260.513,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.17516,
    "h": 295.5
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#754DC2
secondary
#BDCF9C
accent
#D94FAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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