#754EC8#754EC8

#754EC8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.181 H 294.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#754EC8
RGBrgb(117, 78, 200)
HSLhsl(259, 53%, 55%)
HSVhsv(259, 61%, 78%)
CMYKcmyk(41.5%, 61%, 0%, 21.6%)
CIE-LABlab(43.36, 43.91, -58.03)
CIE-LCHlch(43.36, 72.77, 307.11°)
OKLaboklab(53.04% 0.0739 -0.1654)
OKLCHoklch(53.04% 0.181 294.1)
XYZxyz(20.4830, 13.4003, 56.1397)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EC8 #A1C84E
analogous
#4E64C8 #754EC8 #B24EC8
triadic
#754EC8 #C8754E #4EC875
tetradic
#754EC8 #C84E64 #A1C84E #4EC8B2
square
#754EC8 #C84E64 #A1C84E #4EC8B2
split-complementary
#754EC8 #C8B24E #64C84E
monochromatic
#3F2577 #5833A5 #754EC8 #997DD7 #BEABE5

Accessibility & contrast

On white

5.71
#754EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#754EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EC8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EC8#FFFFFF#000000##FFFFFF
##754EC81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#5F6984
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754ec8;
/* rgb */ color: rgb(117, 78, 200);
/* oklch */ color: oklch(53.0% 0.181 294.1);
Tailwind
colors: {
  custom: {
    50: '#a281d9',
    500: '#754ec8',
    950: '#000000',
  },
}
SCSS
$custom: #754ec8;
$custom-light: #a281d9;
$custom-dark: #000000;
JSON
{
  "hex": "#754ec8",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 259.18,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.18117,
    "h": 294.1
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#754EC8
secondary
#C2D39F
accent
#DC4CAE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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