#754FD4#754FD4

#754FD4 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.195 H 291.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#754FD4
RGBrgb(117, 79, 212)
HSLhsl(257, 61%, 57%)
HSVhsv(257, 63%, 83%)
CMYKcmyk(44.8%, 62.7%, 0%, 16.9%)
CIE-LABlab(44.41, 46.65, -63.23)
CIE-LCHlch(44.41, 78.58, 306.42°)
OKLaboklab(54.08% 0.072 -0.1807)
OKLCHoklch(54.08% 0.195 291.7)
XYZxyz(22.0125, 14.1266, 63.8415)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FD4 #AED44F
analogous
#4F6CD4 #754FD4 #B84FD4
triadic
#754FD4 #D4754F #4FD475
tetradic
#754FD4 #D44F6C #AED44F #4FD4B8
square
#754FD4 #D44F6C #AED44F #4FD4B8
split-complementary
#754FD4 #D4B84F #6CD44F
monochromatic
#3E2187 #552DB9 #754FD4 #9C80E0 #C2B1EC

Accessibility & contrast

On white

5.49
#754FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#754FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FD4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FD4#FFFFFF#000000##FFFFFF
##754FD41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#596E8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754fd4;
/* rgb */ color: rgb(117, 79, 212);
/* oklch */ color: oklch(54.1% 0.195 291.7);
Tailwind
colors: {
  custom: {
    50: '#a482e2',
    500: '#754fd4',
    950: '#000000',
  },
}
SCSS
$custom: #754fd4;
$custom-light: #a482e2;
$custom-dark: #000000;
JSON
{
  "hex": "#754fd4",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 257.143,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54077,
    "c": 0.19453,
    "h": 291.7
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#754FD4
secondary
#CBDAA4
accent
#E444B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #754FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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