#754CE2#754CE2

#754CE2 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.215 H 290.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#754CE2
RGBrgb(117, 76, 226)
HSLhsl(256, 72%, 59%)
HSVhsv(256, 66%, 89%)
CMYKcmyk(48.2%, 66.4%, 0%, 11.4%)
CIE-LABlab(44.86, 52.14, -70.50)
CIE-LCHlch(44.86, 87.68, 306.49°)
OKLaboklab(54.73% 0.0735 -0.2021)
OKLCHoklch(54.73% 0.215 290)
XYZxyz(23.6441, 14.4408, 73.4783)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CE2 #B9E24C
analogous
#4C6EE2 #754CE2 #C04CE2
triadic
#754CE2 #E2754C #4CE275
tetradic
#754CE2 #E24C6E #B9E24C #4CE2C0
square
#754CE2 #E24C6E #B9E24C #4CE2C0
split-complementary
#754CE2 #E2C04C #6EE24C
monochromatic
#3C199B #5122CF #754CE2 #9E81EB #C6B5F3

Accessibility & contrast

On white

5.40
#754CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#754CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CE2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CE2#FFFFFF#000000##FFFFFF
##754CE21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#517191
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754ce2;
/* rgb */ color: rgb(117, 76, 226);
/* oklch */ color: oklch(54.7% 0.215 290.0);
Tailwind
colors: {
  custom: {
    50: '#a581ec',
    500: '#754ce2',
    950: '#000000',
  },
}
SCSS
$custom: #754ce2;
$custom-light: #a581ec;
$custom-dark: #000000;
JSON
{
  "hex": "#754ce2",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 256.4,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.21501,
    "h": 290
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#754CE2
secondary
#D2E2A8
accent
#EF39BD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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