#754DE2#754DE2

#754DE2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.9% C 0.214 H 289.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#754DE2
RGBrgb(117, 77, 226)
HSLhsl(256, 72%, 59%)
HSVhsv(256, 66%, 89%)
CMYKcmyk(48.2%, 65.9%, 0%, 11.4%)
CIE-LABlab(45.05, 51.61, -70.18)
CIE-LCHlch(45.05, 87.11, 306.33°)
OKLaboklab(54.87% 0.0725 -0.2011)
OKLCHoklch(54.87% 0.214 289.8)
XYZxyz(23.7135, 14.5797, 73.5014)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DE2 #BAE24D
analogous
#4D70E2 #754DE2 #BF4DE2
triadic
#754DE2 #E2754D #4DE275
tetradic
#754DE2 #E24D70 #BAE24D #4DE2BF
square
#754DE2 #E24D70 #BAE24D #4DE2BF
split-complementary
#754DE2 #E2BF4D #70E24D
monochromatic
#3C199B #5122D0 #754DE2 #9E82EB #C7B6F3

Accessibility & contrast

On white

5.36
#754DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#754DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DE2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DE2#FFFFFF#000000##FFFFFF
##754DE21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754de2;
/* rgb */ color: rgb(117, 77, 226);
/* oklch */ color: oklch(54.9% 0.214 289.8);
Tailwind
colors: {
  custom: {
    50: '#a581ec',
    500: '#754de2',
    950: '#000000',
  },
}
SCSS
$custom: #754de2;
$custom-light: #a581ec;
$custom-dark: #000000;
JSON
{
  "hex": "#754de2",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 256.107,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.21381,
    "h": 289.8
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#754DE2
secondary
#D3E2A8
accent
#EF39BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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