#754DD7#754DD7

#754DD7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.0% C 0.201 H 291.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#754DD7
RGBrgb(117, 77, 215)
HSLhsl(257, 63%, 57%)
HSVhsv(257, 64%, 84%)
CMYKcmyk(45.6%, 64.2%, 0%, 15.7%)
CIE-LABlab(44.23, 48.57, -65.26)
CIE-LCHlch(44.23, 81.35, 306.66°)
OKLaboklab(54.01% 0.0738 -0.1867)
OKLCHoklch(54.01% 0.201 291.6)
XYZxyz(22.2523, 13.9952, 65.8057)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DD7 #AFD74D
analogous
#4D6AD7 #754DD7 #BA4DD7
triadic
#754DD7 #D7754D #4DD775
tetradic
#754DD7 #D74D6A #AFD74D #4DD7BA
square
#754DD7 #D74D6A #AFD74D #4DD7BA
split-complementary
#754DD7 #D7BA4D #6AD74D
monochromatic
#3E1F8A #552ABC #754DD7 #9C7FE2 #C2B1ED

Accessibility & contrast

On white

5.53
#754DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#754DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DD7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DD7#FFFFFF#000000##FFFFFF
##754DD71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#576E8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754dd7;
/* rgb */ color: rgb(117, 77, 215);
/* oklch */ color: oklch(54.0% 0.201 291.6);
Tailwind
colors: {
  custom: {
    50: '#a481e4',
    500: '#754dd7',
    950: '#000000',
  },
}
SCSS
$custom: #754dd7;
$custom-light: #a481e4;
$custom-dark: #000000;
JSON
{
  "hex": "#754dd7",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 257.391,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.20072,
    "h": 291.6
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#754DD7
secondary
#CCDCA4
accent
#E641B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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