#754EFC#754EFC

#754EFC is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.243 H 286.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#754EFC
RGBrgb(117, 78, 252)
HSLhsl(253, 97%, 65%)
HSVhsv(253, 69%, 99%)
CMYKcmyk(53.6%, 69%, 0%, 1.2%)
CIE-LABlab(47.31, 58.31, -81.12)
CIE-LCHlch(47.31, 99.90, 305.71°)
OKLaboklab(57.12% 0.0676 -0.2332)
OKLCHoklch(57.12% 0.243 286.2)
XYZxyz(27.6259, 16.2575, 93.7589)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EFC #D5FC4E
analogous
#4E7EFC #754EFC #CC4EFC
triadic
#754EFC #FC754E #4EFC75
tetradic
#754EFC #FC4E7E #D5FC4E #4EFCCC
square
#754EFC #FC4E7E #D5FC4E #4EFCCC
split-complementary
#754EFC #FCCC4E #7EFC4E
monochromatic
#3003CC #4612FB #754EFC #A48AFD #D3C6FE

Accessibility & contrast

On white

4.94
#754EFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#754EFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EFC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EFC#FFFFFF#000000##FFFFFF
##754EFC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006BF9
Tritanopia (blue-blind)
#3B7CA0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #754efc;
/* rgb */ color: rgb(117, 78, 252);
/* oklch */ color: oklch(57.1% 0.243 286.2);
Tailwind
colors: {
  custom: {
    50: '#a983ff',
    500: '#754efc',
    950: '#000000',
  },
}
SCSS
$custom: #754efc;
$custom-light: #a983ff;
$custom-dark: #000000;
JSON
{
  "hex": "#754efc",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 252
  },
  "hsl": {
    "h": 253.448,
    "s": 96.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.24283,
    "h": 286.2
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#754EFC
secondary
#E3F1B5
accent
#E600B2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #754EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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