#754CAF#754CAF

#754CAF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.153 H 300.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#754CAF
RGBrgb(117, 76, 175)
HSLhsl(265, 39%, 49%)
HSVhsv(265, 57%, 69%)
CMYKcmyk(33.1%, 56.6%, 0%, 31.4%)
CIE-LABlab(41.29, 38.36, -46.75)
CIE-LCHlch(41.29, 60.47, 309.37°)
OKLaboklab(51% 0.0768 -0.1323)
OKLCHoklch(51% 0.153 300.1)
XYZxyz(17.6566, 12.0458, 41.9440)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CAF #86AF4C
analogous
#4C55AF #754CAF #A74CAF
triadic
#754CAF #AF754C #4CAF75
tetradic
#754CAF #AF4C55 #86AF4C #4CAFA7
square
#754CAF #AF4C55 #86AF4C #4CAFA7
split-complementary
#754CAF #AFA74C #55AF4C
monochromatic
#3C275A #583984 #754CAF #9575C3 #B6A0D6

Accessibility & contrast

On white

6.16
#754CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#754CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CAF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CAF#FFFFFF#000000##FFFFFF
##754CAF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#696076
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754caf;
/* rgb */ color: rgb(117, 76, 175);
/* oklch */ color: oklch(51.0% 0.153 300.1);
Tailwind
colors: {
  custom: {
    50: '#a07fc7',
    500: '#754caf',
    950: '#000000',
  },
}
SCSS
$custom: #754caf;
$custom-light: #a07fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#754caf",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 264.848,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.15294,
    "h": 300.1
  },
  "luminance": 0.12046
}

Semantic roles & 50–950 ramp

primary
#754CAF
secondary
#AFC294
accent
#CF589E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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