#754FEF#754FEF

#754FEF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.227 H 287.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#754FEF
RGBrgb(117, 79, 239)
HSLhsl(254, 83%, 62%)
HSVhsv(254, 67%, 94%)
CMYKcmyk(51%, 66.9%, 0%, 6.3%)
CIE-LABlab(46.45, 54.17, -75.25)
CIE-LCHlch(46.45, 92.71, 305.75°)
OKLaboklab(56.18% 0.0688 -0.216)
OKLCHoklch(56.18% 0.227 287.7)
XYZxyz(25.7075, 15.6046, 83.3020)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FEF #C9EF4F
analogous
#4F79EF #754FEF #C54FEF
triadic
#754FEF #EF754F #4FEF75
tetradic
#754FEF #EF4F79 #C9EF4F #4FEFC5
square
#754FEF #EF4F79 #C9EF4F #4FEFC5
split-complementary
#754FEF #EFC54F #79EF4F
monochromatic
#3710B3 #4917EA #754FEF #A187F4 #CDBFF9

Accessibility & contrast

On white

5.10
#754FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#754FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FEF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FEF#FFFFFF#000000##FFFFFF
##754FEF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#477899
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #754fef;
/* rgb */ color: rgb(117, 79, 239);
/* oklch */ color: oklch(56.2% 0.227 287.7);
Tailwind
colors: {
  custom: {
    50: '#a783f5',
    500: '#754fef',
    950: '#000000',
  },
}
SCSS
$custom: #754fef;
$custom-light: #a783f5;
$custom-dark: #000000;
JSON
{
  "hex": "#754fef",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 254.25,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.22672,
    "h": 287.7
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

primary
#754FEF
secondary
#DCEAB0
accent
#E006AC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #754FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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