#754EDD#754EDD

#754EDD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.207 H 290.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#754EDD
RGBrgb(117, 78, 221)
HSLhsl(256, 68%, 59%)
HSVhsv(256, 65%, 87%)
CMYKcmyk(47.1%, 64.7%, 0%, 13.3%)
CIE-LABlab(44.87, 49.69, -67.63)
CIE-LCHlch(44.87, 83.92, 306.30°)
OKLaboklab(54.62% 0.0721 -0.1936)
OKLCHoklch(54.62% 0.207 290.4)
XYZxyz(23.1080, 14.4503, 69.9642)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EDD #B6DD4E
analogous
#4E6EDD #754EDD #BD4EDD
triadic
#754EDD #DD754E #4EDD75
tetradic
#754EDD #DD4E6E #B6DD4E #4EDDBD
square
#754EDD #DD4E6E #B6DD4E #4EDDBD
split-complementary
#754EDD #DDBD4E #6EDD4E
monochromatic
#3D1C94 #5226C7 #754EDD #9D81E7 #C5B5F1

Accessibility & contrast

On white

5.40
#754EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#754EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EDD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EDD#FFFFFF#000000##FFFFFF
##754EDD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#54718F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754edd;
/* rgb */ color: rgb(117, 78, 221);
/* oklch */ color: oklch(54.6% 0.207 290.4);
Tailwind
colors: {
  custom: {
    50: '#a582e9',
    500: '#754edd',
    950: '#000000',
  },
}
SCSS
$custom: #754edd;
$custom-light: #a582e9;
$custom-dark: #000000;
JSON
{
  "hex": "#754edd",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 256.364,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.20665,
    "h": 290.4
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#754EDD
secondary
#D0E0A7
accent
#EB3DBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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