#754FDF#754FDF

#754FDF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.208 H 290.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#754FDF
RGBrgb(117, 79, 223)
HSLhsl(256, 69%, 59%)
HSVhsv(256, 65%, 87%)
CMYKcmyk(47.5%, 64.6%, 0%, 12.5%)
CIE-LABlab(45.22, 49.70, -68.20)
CIE-LCHlch(45.22, 84.39, 306.08°)
OKLaboklab(54.92% 0.0709 -0.1953)
OKLCHoklch(54.92% 0.208 290)
XYZxyz(23.4476, 14.7007, 71.3998)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FDF #B9DF4F
analogous
#4F71DF #754FDF #BD4FDF
triadic
#754FDF #DF754F #4FDF75
tetradic
#754FDF #DF4F71 #B9DF4F #4FDFBD
square
#754FDF #DF4F71 #B9DF4F #4FDFBD
split-complementary
#754FDF #DFBD4F #71DF4F
monochromatic
#3C1C98 #5125CC #754FDF #9E83E8 #C6B7F2

Accessibility & contrast

On white

5.33
#754FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#754FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FDF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FDF#FFFFFF#000000##FFFFFF
##754FDF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#527290
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754fdf;
/* rgb */ color: rgb(117, 79, 223);
/* oklch */ color: oklch(54.9% 0.208 290.0);
Tailwind
colors: {
  custom: {
    50: '#a582ea',
    500: '#754fdf',
    950: '#000000',
  },
}
SCSS
$custom: #754fdf;
$custom-light: #a582ea;
$custom-dark: #000000;
JSON
{
  "hex": "#754fdf",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 255.833,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.2078,
    "h": 290
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#754FDF
secondary
#D2E1A9
accent
#EC3CBE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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