#754ED6#754ED6

#754ED6 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.198 H 291.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#754ED6
RGBrgb(117, 78, 214)
HSLhsl(257, 62%, 57%)
HSVhsv(257, 64%, 84%)
CMYKcmyk(45.3%, 63.6%, 0%, 16.1%)
CIE-LABlab(44.35, 47.75, -64.48)
CIE-LCHlch(44.35, 80.23, 306.52°)
OKLaboklab(54.08% 0.0729 -0.1844)
OKLCHoklch(54.08% 0.198 291.6)
XYZxyz(22.1947, 14.0850, 65.1545)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754ED6 #AFD64E
analogous
#4E6BD6 #754ED6 #B94ED6
triadic
#754ED6 #D6754E #4ED675
tetradic
#754ED6 #D64E6B #AFD64E #4ED6B9
square
#754ED6 #D64E6B #AFD64E #4ED6B9
split-complementary
#754ED6 #D6B94E #6BD64E
monochromatic
#3E208A #552BBB #754ED6 #9C80E2 #C2B1ED

Accessibility & contrast

On white

5.50
#754ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#754ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754ED6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754ED6#FFFFFF#000000##FFFFFF
##754ED61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#586E8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ed6;
/* rgb */ color: rgb(117, 78, 214);
/* oklch */ color: oklch(54.1% 0.198 291.6);
Tailwind
colors: {
  custom: {
    50: '#a482e4',
    500: '#754ed6',
    950: '#000000',
  },
}
SCSS
$custom: #754ed6;
$custom-light: #a482e4;
$custom-dark: #000000;
JSON
{
  "hex": "#754ed6",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 257.206,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.19824,
    "h": 291.6
  },
  "luminance": 0.14086
}

Semantic roles & 50–950 ramp

primary
#754ED6
secondary
#CCDBA4
accent
#E542B7
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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