#754FAF#754FAF

#754FAF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.148 H 299.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#754FAF
RGBrgb(117, 79, 175)
HSLhsl(264, 38%, 50%)
HSVhsv(264, 55%, 69%)
CMYKcmyk(33.1%, 54.9%, 0%, 31.4%)
CIE-LABlab(41.95, 36.64, -45.69)
CIE-LCHlch(41.95, 58.56, 308.73°)
OKLaboklab(51.49% 0.0729 -0.1291)
OKLCHoklch(51.49% 0.148 299.4)
XYZxyz(17.8681, 12.4689, 42.0145)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FAF #89AF4F
analogous
#4F59AF #754FAF #A54FAF
triadic
#754FAF #AF754F #4FAF75
tetradic
#754FAF #AF4F59 #89AF4F #4FAFA5
square
#754FAF #AF4F59 #89AF4F #4FAFA5
split-complementary
#754FAF #AFA54F #59AF4F
monochromatic
#3D295B #593C85 #754FAF #9679C2 #B7A3D5

Accessibility & contrast

On white

6.01
#754FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#754FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FAF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FAF#FFFFFF#000000##FFFFFF
##754FAF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#3462AD
Tritanopia (blue-blind)
#696277
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754faf;
/* rgb */ color: rgb(117, 79, 175);
/* oklch */ color: oklch(51.5% 0.148 299.4);
Tailwind
colors: {
  custom: {
    50: '#a081c7',
    500: '#754faf',
    950: '#000000',
  },
}
SCSS
$custom: #754faf;
$custom-light: #a081c7;
$custom-dark: #000000;
JSON
{
  "hex": "#754faf",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 263.75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.14829,
    "h": 299.4
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#754FAF
secondary
#B1C397
accent
#CE5AA0
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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