#754CEC#754CEC

#754CEC is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.227 H 288.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#754CEC
RGBrgb(117, 76, 236)
HSLhsl(255, 81%, 61%)
HSVhsv(255, 68%, 93%)
CMYKcmyk(50.4%, 67.8%, 0%, 7.5%)
CIE-LABlab(45.64, 54.90, -74.88)
CIE-LCHlch(45.64, 92.85, 306.25°)
OKLaboklab(55.53% 0.072 -0.2149)
OKLCHoklch(55.53% 0.227 288.5)
XYZxyz(25.0565, 15.0058, 80.9168)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CEC #C3EC4C
analogous
#4C73EC #754CEC #C54CEC
triadic
#754CEC #EC754C #4CEC75
tetradic
#754CEC #EC4C73 #C3EC4C #4CECC5
square
#754CEC #EC4C73 #C3EC4C #4CECC5
split-complementary
#754CEC #ECC54C #73EC4C
monochromatic
#3912AB #4C18E3 #754CEC #A083F2 #CABBF8

Accessibility & contrast

On white

5.25
#754CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#754CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CEC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CEC#FFFFFF#000000##FFFFFF
##754CEC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#4A7596
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #754cec;
/* rgb */ color: rgb(117, 76, 236);
/* oklch */ color: oklch(55.5% 0.227 288.5);
Tailwind
colors: {
  custom: {
    50: '#a781f3',
    500: '#754cec',
    950: '#000000',
  },
}
SCSS
$custom: #754cec;
$custom-light: #a781f3;
$custom-dark: #000000;
JSON
{
  "hex": "#754cec",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 255.375,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.22666,
    "h": 288.5
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#754CEC
secondary
#D9E8AC
accent
#DD08A7
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #754CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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