#754CEB#754CEB

#754CEB is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.226 H 288.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#754CEB
RGBrgb(117, 76, 235)
HSLhsl(255, 80%, 61%)
HSVhsv(255, 68%, 92%)
CMYKcmyk(50.2%, 67.7%, 0%, 7.8%)
CIE-LABlab(45.56, 54.63, -74.44)
CIE-LCHlch(45.56, 92.34, 306.27°)
OKLaboklab(55.45% 0.0721 -0.2137)
OKLCHoklch(55.45% 0.226 288.7)
XYZxyz(24.9116, 14.9478, 80.1538)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CEB #C2EB4C
analogous
#4C72EB #754CEB #C44CEB
triadic
#754CEB #EB754C #4CEB75
tetradic
#754CEB #EB4C72 #C2EB4C #4CEBC4
square
#754CEB #EB4C72 #C2EB4C #4CEBC4
split-complementary
#754CEB #EBC44C #72EB4C
monochromatic
#3A13AA #4D19E1 #754CEB #9F83F1 #CABAF7

Accessibility & contrast

On white

5.26
#754CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#754CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CEB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CEB#FFFFFF#000000##FFFFFF
##754CEB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#4A7496
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #754ceb;
/* rgb */ color: rgb(117, 76, 235);
/* oklch */ color: oklch(55.5% 0.226 288.7);
Tailwind
colors: {
  custom: {
    50: '#a781f3',
    500: '#754ceb',
    950: '#000000',
  },
}
SCSS
$custom: #754ceb;
$custom-light: #a781f3;
$custom-dark: #000000;
JSON
{
  "hex": "#754ceb",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 255.472,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.2255,
    "h": 288.7
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#754CEB
secondary
#D8E7AB
accent
#DC09A6
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #754CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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