#754DEC#754DEC

#754DEC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.226 H 288.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#754DEC
RGBrgb(117, 77, 236)
HSLhsl(255, 81%, 61%)
HSVhsv(255, 67%, 93%)
CMYKcmyk(50.4%, 67.4%, 0%, 7.5%)
CIE-LABlab(45.83, 54.38, -74.57)
CIE-LCHlch(45.83, 92.29, 306.10°)
OKLaboklab(55.67% 0.0711 -0.214)
OKLCHoklch(55.67% 0.226 288.4)
XYZxyz(25.1259, 15.1446, 80.9399)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DEC #C4EC4D
analogous
#4D75EC #754DEC #C44DEC
triadic
#754DEC #EC754D #4DEC75
tetradic
#754DEC #EC4D75 #C4EC4D #4DECC4
square
#754DEC #EC4D75 #C4EC4D #4DECC4
split-complementary
#754DEC #ECC44D #75EC4D
monochromatic
#3912AC #4B18E4 #754DEC #A084F2 #CBBCF8

Accessibility & contrast

On white

5.21
#754DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#754DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DEC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DEC#FFFFFF#000000##FFFFFF
##754DEC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#4A7596
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #754dec;
/* rgb */ color: rgb(117, 77, 236);
/* oklch */ color: oklch(55.7% 0.226 288.4);
Tailwind
colors: {
  custom: {
    50: '#a782f3',
    500: '#754dec',
    950: '#000000',
  },
}
SCSS
$custom: #754dec;
$custom-light: #a782f3;
$custom-dark: #000000;
JSON
{
  "hex": "#754dec",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 255.094,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.22552,
    "h": 288.4
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#754DEC
secondary
#D9E8AD
accent
#DD08A8
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #754DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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