#754FDC#754FDC

#754FDC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.204 H 290.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#754FDC
RGBrgb(117, 79, 220)
HSLhsl(256, 67%, 59%)
HSVhsv(256, 64%, 86%)
CMYKcmyk(46.8%, 64.1%, 0%, 13.7%)
CIE-LABlab(45.00, 48.87, -66.86)
CIE-LCHlch(45.00, 82.81, 306.16°)
OKLaboklab(54.68% 0.0712 -0.1914)
OKLCHoklch(54.68% 0.204 290.4)
XYZxyz(23.0467, 14.5403, 69.2885)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FDC #B6DC4F
analogous
#4F6FDC #754FDC #BB4FDC
triadic
#754FDC #DC754F #4FDC75
tetradic
#754FDC #DC4F6F #B6DC4F #4FDCBB
square
#754FDC #DC4F6F #B6DC4F #4FDCBB
split-complementary
#754FDC #DCBB4F #6FDC4F
monochromatic
#3D1D93 #5227C6 #754FDC #9D82E6 #C5B5F0

Accessibility & contrast

On white

5.37
#754FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#754FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FDC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FDC#FFFFFF#000000##FFFFFF
##754FDC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#54718E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754fdc;
/* rgb */ color: rgb(117, 79, 220);
/* oklch */ color: oklch(54.7% 0.204 290.4);
Tailwind
colors: {
  custom: {
    50: '#a482e8',
    500: '#754fdc',
    950: '#000000',
  },
}
SCSS
$custom: #754fdc;
$custom-light: #a482e8;
$custom-dark: #000000;
JSON
{
  "hex": "#754fdc",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 256.17,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.2042,
    "h": 290.4
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#754FDC
secondary
#D0DFA8
accent
#EA3EBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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