#754EE3#754EE3

#754EE3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.214 H 289.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#754EE3
RGBrgb(117, 78, 227)
HSLhsl(256, 73%, 60%)
HSVhsv(256, 66%, 89%)
CMYKcmyk(48.5%, 65.6%, 0%, 11%)
CIE-LABlab(45.33, 51.35, -70.31)
CIE-LCHlch(45.33, 87.06, 306.14°)
OKLaboklab(55.09% 0.0714 -0.2015)
OKLCHoklch(55.09% 0.214 289.5)
XYZxyz(23.9217, 14.7757, 74.2497)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EE3 #BCE34E
analogous
#4E71E3 #754EE3 #C04EE3
triadic
#754EE3 #E3754E #4EE375
tetradic
#754EE3 #E34E71 #BCE34E #4EE3C0
square
#754EE3 #E34E71 #BCE34E #4EE3C0
split-complementary
#754EE3 #E3C04E #71E34E
monochromatic
#3C199E #5021D3 #754EE3 #9E83EB #C7B8F4

Accessibility & contrast

On white

5.31
#754EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#754EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EE3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EE3#FFFFFF#000000##FFFFFF
##754EE31.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754ee3;
/* rgb */ color: rgb(117, 78, 227);
/* oklch */ color: oklch(55.1% 0.214 289.5);
Tailwind
colors: {
  custom: {
    50: '#a582ed',
    500: '#754ee3',
    950: '#000000',
  },
}
SCSS
$custom: #754ee3;
$custom-light: #a582ed;
$custom-dark: #000000;
JSON
{
  "hex": "#754ee3",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 255.705,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.21378,
    "h": 289.5
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#754EE3
secondary
#D4E3AA
accent
#EF38BF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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