#754FC0#754FC0

#754FC0 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.170 H 295.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#754FC0
RGBrgb(117, 79, 192)
HSLhsl(260, 47%, 53%)
HSVhsv(260, 59%, 75%)
CMYKcmyk(39.1%, 58.9%, 0%, 24.7%)
CIE-LABlab(43.03, 41.17, -53.92)
CIE-LCHlch(43.03, 67.84, 307.37°)
OKLaboklab(52.63% 0.073 -0.1533)
OKLCHoklch(52.63% 0.17 295.5)
XYZxyz(19.6441, 13.1792, 51.3678)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FC0 #9AC04F
analogous
#4F61C0 #754FC0 #AD4FC0
triadic
#754FC0 #C0754F #4FC075
tetradic
#754FC0 #C04F61 #9AC04F #4FC0AD
square
#754FC0 #C04F61 #9AC04F #4FC0AD
split-complementary
#754FC0 #C0AD4F #61C04F
monochromatic
#3F276D #59379A #754FC0 #987CD0 #BCA9E0

Accessibility & contrast

On white

5.78
#754FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754FC0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FC0#FFFFFF#000000##FFFFFF
##754FC01.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0566C4
Deuteranopia (green-blind)
#1D64BE
Tritanopia (blue-blind)
#626780
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754fc0;
/* rgb */ color: rgb(117, 79, 192);
/* oklch */ color: oklch(52.6% 0.170 295.5);
Tailwind
colors: {
  custom: {
    50: '#a182d4',
    500: '#754fc0',
    950: '#000000',
  },
}
SCSS
$custom: #754fc0;
$custom-light: #a182d4;
$custom-dark: #000000;
JSON
{
  "hex": "#754fc0",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 260.177,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.16982,
    "h": 295.5
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#754FC0
secondary
#BDCE9D
accent
#D751AA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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