#754DAF#754DAF

#754DAF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.151 H 299.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#754DAF
RGBrgb(117, 77, 175)
HSLhsl(264, 39%, 49%)
HSVhsv(264, 56%, 69%)
CMYKcmyk(33.1%, 56%, 0%, 31.4%)
CIE-LABlab(41.51, 37.79, -46.40)
CIE-LCHlch(41.51, 59.84, 309.16°)
OKLaboklab(51.16% 0.0755 -0.1312)
OKLCHoklch(51.16% 0.151 299.9)
XYZxyz(17.7260, 12.1847, 41.9671)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DAF #87AF4D
analogous
#4D56AF #754DAF #A64DAF
triadic
#754DAF #AF754D #4DAF75
tetradic
#754DAF #AF4D56 #87AF4D #4DAFA6
square
#754DAF #AF4D56 #87AF4D #4DAFA6
split-complementary
#754DAF #AFA64D #56AF4D
monochromatic
#3C285A #593A85 #754DAF #9676C3 #B6A1D6

Accessibility & contrast

On white

6.11
#754DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#754DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DAF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DAF#FFFFFF#000000##FFFFFF
##754DAF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#696176
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754daf;
/* rgb */ color: rgb(117, 77, 175);
/* oklch */ color: oklch(51.2% 0.151 299.9);
Tailwind
colors: {
  custom: {
    50: '#a080c7',
    500: '#754daf',
    950: '#000000',
  },
}
SCSS
$custom: #754daf;
$custom-light: #a080c7;
$custom-dark: #000000;
JSON
{
  "hex": "#754daf",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 264.49,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51163,
    "c": 0.1514,
    "h": 299.9
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#754DAF
secondary
#B0C395
accent
#CF599F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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