#754CDE#754CDE

#754CDE is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.210 H 290.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#754CDE
RGBrgb(117, 76, 222)
HSLhsl(257, 69%, 58%)
HSVhsv(257, 66%, 87%)
CMYKcmyk(47.3%, 65.8%, 0%, 12.9%)
CIE-LABlab(44.55, 51.04, -68.72)
CIE-LCHlch(44.55, 85.60, 306.60°)
OKLaboklab(54.41% 0.074 -0.1968)
OKLCHoklch(54.41% 0.21 290.6)
XYZxyz(23.1016, 14.2238, 70.6213)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CDE #B5DE4C
analogous
#4C6CDE #754CDE #BE4CDE
triadic
#754CDE #DE754C #4CDE75
tetradic
#754CDE #DE4C6C #B5DE4C #4CDEBE
square
#754CDE #DE4C6C #B5DE4C #4CDEBE
split-complementary
#754CDE #DEBE4C #6CDE4C
monochromatic
#3D1B94 #5325C8 #754CDE #9D80E8 #C5B3F1

Accessibility & contrast

On white

5.46
#754CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#754CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CDE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CDE#FFFFFF#000000##FFFFFF
##754CDE1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#53708F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754cde;
/* rgb */ color: rgb(117, 76, 222);
/* oklch */ color: oklch(54.4% 0.210 290.6);
Tailwind
colors: {
  custom: {
    50: '#a581e9',
    500: '#754cde',
    950: '#000000',
  },
}
SCSS
$custom: #754cde;
$custom-light: #a581e9;
$custom-dark: #000000;
JSON
{
  "hex": "#754cde",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 256.849,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.2103,
    "h": 290.6
  },
  "luminance": 0.14225
}

Semantic roles & 50–950 ramp

primary
#754CDE
secondary
#D0E0A6
accent
#EC3CBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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