#754DE3#754DE3

#754DE3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.215 H 289.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#754DE3
RGBrgb(117, 77, 227)
HSLhsl(256, 73%, 60%)
HSVhsv(256, 66%, 89%)
CMYKcmyk(48.5%, 66.1%, 0%, 11%)
CIE-LABlab(45.13, 51.88, -70.62)
CIE-LCHlch(45.13, 87.63, 306.30°)
OKLaboklab(54.95% 0.0724 -0.2024)
OKLCHoklch(54.95% 0.215 289.7)
XYZxyz(23.8511, 14.6347, 74.2262)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DE3 #BBE34D
analogous
#4D70E3 #754DE3 #C04DE3
triadic
#754DE3 #E3754D #4DE375
tetradic
#754DE3 #E34D70 #BBE34D #4DE3C0
square
#754DE3 #E34D70 #BBE34D #4DE3C0
split-complementary
#754DE3 #E3C04D #70E34D
monochromatic
#3C199D #5021D2 #754DE3 #9E82EB #C7B7F4

Accessibility & contrast

On white

5.35
#754DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#754DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DE3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DE3#FFFFFF#000000##FFFFFF
##754DE31.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#507292
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754de3;
/* rgb */ color: rgb(117, 77, 227);
/* oklch */ color: oklch(54.9% 0.215 289.7);
Tailwind
colors: {
  custom: {
    50: '#a581ed',
    500: '#754de3',
    950: '#000000',
  },
}
SCSS
$custom: #754de3;
$custom-light: #a581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#754de3",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 256,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.21498,
    "h": 289.7
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#754DE3
secondary
#D3E3A9
accent
#F038BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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