#754CD8#754CD8

#754CD8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.203 H 291.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#754CD8
RGBrgb(117, 76, 216)
HSLhsl(258, 64%, 57%)
HSVhsv(258, 65%, 85%)
CMYKcmyk(45.8%, 64.8%, 0%, 15.3%)
CIE-LABlab(44.10, 49.38, -66.03)
CIE-LCHlch(44.10, 82.46, 306.79°)
OKLaboklab(53.94% 0.0747 -0.1889)
OKLCHoklch(53.94% 0.203 291.6)
XYZxyz(22.3118, 13.9079, 66.4613)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CD8 #AFD84C
analogous
#4C69D8 #754CD8 #BB4CD8
triadic
#754CD8 #D8754C #4CD875
tetradic
#754CD8 #D84C69 #AFD84C #4CD8BB
square
#754CD8 #D84C69 #AFD84C #4CD8BB
split-complementary
#754CD8 #D8BB4C #69D84C
monochromatic
#3E1E8B #5529BE #754CD8 #9C7EE3 #C2B1EE

Accessibility & contrast

On white

5.55
#754CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#754CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CD8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CD8#FFFFFF#000000##FFFFFF
##754CD81.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#576E8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #754cd8;
/* rgb */ color: rgb(117, 76, 216);
/* oklch */ color: oklch(53.9% 0.203 291.6);
Tailwind
colors: {
  custom: {
    50: '#a480e5',
    500: '#754cd8',
    950: '#000000',
  },
}
SCSS
$custom: #754cd8;
$custom-light: #a480e5;
$custom-dark: #000000;
JSON
{
  "hex": "#754cd8",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 257.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.20318,
    "h": 291.6
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #754CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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