#754FD3#754FD3

#754FD3 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.193 H 291.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#754FD3
RGBrgb(117, 79, 211)
HSLhsl(257, 60%, 57%)
HSVhsv(257, 63%, 83%)
CMYKcmyk(44.5%, 62.6%, 0%, 17.3%)
CIE-LABlab(44.34, 46.37, -62.78)
CIE-LCHlch(44.34, 78.05, 306.45°)
OKLaboklab(54% 0.0721 -0.1794)
OKLCHoklch(54% 0.193 291.9)
XYZxyz(21.8867, 14.0763, 63.1792)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FD3 #ADD34F
analogous
#4F6BD3 #754FD3 #B74FD3
triadic
#754FD3 #D3754F #4FD375
tetradic
#754FD3 #D34F6B #ADD34F #4FD3B7
square
#754FD3 #D34F6B #ADD34F #4FD3B7
split-complementary
#754FD3 #D3B74F #6BD34F
monochromatic
#3E2286 #552EB7 #754FD3 #9B80DF #C2B1EB

Accessibility & contrast

On white

5.50
#754FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#754FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FD3
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FD3#FFFFFF#000000##FFFFFF
##754FD31.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754fd3;
/* rgb */ color: rgb(117, 79, 211);
/* oklch */ color: oklch(54.0% 0.193 291.9);
Tailwind
colors: {
  custom: {
    50: '#a382e1',
    500: '#754fd3',
    950: '#000000',
  },
}
SCSS
$custom: #754fd3;
$custom-light: #a382e1;
$custom-dark: #000000;
JSON
{
  "hex": "#754fd3",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 257.273,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.19331,
    "h": 291.9
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#754FD3
secondary
#CADAA4
accent
#E345B6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #754FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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