#754CE3#754CE3

#754CE3 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.216 H 289.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#754CE3
RGBrgb(117, 76, 227)
HSLhsl(256, 73%, 59%)
HSVhsv(256, 67%, 89%)
CMYKcmyk(48.5%, 66.5%, 0%, 11%)
CIE-LABlab(44.94, 52.41, -70.94)
CIE-LCHlch(44.94, 88.20, 306.46°)
OKLaboklab(54.81% 0.0733 -0.2034)
OKLCHoklch(54.81% 0.216 289.8)
XYZxyz(23.7817, 14.4959, 74.2031)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CE3 #BAE34C
analogous
#4C6FE3 #754CE3 #C04CE3
triadic
#754CE3 #E3754C #4CE375
tetradic
#754CE3 #E34C6F #BAE34C #4CE3C0
square
#754CE3 #E34C6F #BAE34C #4CE3C0
split-complementary
#754CE3 #E3C04C #6FE34C
monochromatic
#3C189C #5121D1 #754CE3 #9E81EB #C7B6F4

Accessibility & contrast

On white

5.39
#754CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#754CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CE3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CE3#FFFFFF#000000##FFFFFF
##754CE31.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#507291
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754ce3;
/* rgb */ color: rgb(117, 76, 227);
/* oklch */ color: oklch(54.8% 0.216 289.8);
Tailwind
colors: {
  custom: {
    50: '#a681ed',
    500: '#754ce3',
    950: '#000000',
  },
}
SCSS
$custom: #754ce3;
$custom-light: #a681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#754ce3",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 256.291,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.21618,
    "h": 289.8
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#754CE3
secondary
#D3E3A8
accent
#F038BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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