#754FE3#754FE3

#754FE3 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.213 H 289.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#754FE3
RGBrgb(117, 79, 227)
HSLhsl(255, 73%, 60%)
HSVhsv(255, 65%, 89%)
CMYKcmyk(48.5%, 65.2%, 0%, 11%)
CIE-LABlab(45.52, 50.81, -69.98)
CIE-LCHlch(45.52, 86.49, 305.98°)
OKLaboklab(55.23% 0.0704 -0.2006)
OKLCHoklch(55.23% 0.213 289.4)
XYZxyz(23.9932, 14.9189, 74.2736)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FE3 #BDE34F
analogous
#4F73E3 #754FE3 #BF4FE3
triadic
#754FE3 #E3754F #4FE375
tetradic
#754FE3 #E34F73 #BDE34F #4FE3BF
square
#754FE3 #E34F73 #BDE34F #4FE3BF
split-complementary
#754FE3 #E3BF4F #73E34F
monochromatic
#3B199E #4F22D3 #754FE3 #9E84EB #C8B9F4

Accessibility & contrast

On white

5.27
#754FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#754FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FE3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FE3#FFFFFF#000000##FFFFFF
##754FE31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#507392
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #754fe3;
/* rgb */ color: rgb(117, 79, 227);
/* oklch */ color: oklch(55.2% 0.213 289.4);
Tailwind
colors: {
  custom: {
    50: '#a583ed',
    500: '#754fe3',
    950: '#000000',
  },
}
SCSS
$custom: #754fe3;
$custom-light: #a583ed;
$custom-dark: #000000;
JSON
{
  "hex": "#754fe3",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 255.405,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.21257,
    "h": 289.4
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#754FE3
secondary
#D5E3AA
accent
#EF39C0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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