#754EDF#754EDF

#754EDF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.209 H 290.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#754EDF
RGBrgb(117, 78, 223)
HSLhsl(256, 69%, 59%)
HSVhsv(256, 65%, 87%)
CMYKcmyk(47.5%, 65%, 0%, 12.5%)
CIE-LABlab(45.02, 50.24, -68.53)
CIE-LCHlch(45.02, 84.97, 306.25°)
OKLaboklab(54.77% 0.0719 -0.1963)
OKLCHoklch(54.77% 0.209 290.1)
XYZxyz(23.3760, 14.5575, 71.3759)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EDF #B8DF4E
analogous
#4E70DF #754EDF #BE4EDF
triadic
#754EDF #DF754E #4EDF75
tetradic
#754EDF #DF4E70 #B8DF4E #4EDFBE
square
#754EDF #DF4E70 #B8DF4E #4EDFBE
split-complementary
#754EDF #DFBE4E #70DF4E
monochromatic
#3D1B97 #5125CB #754EDF #9D82E8 #C6B6F2

Accessibility & contrast

On white

5.37
#754EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#754EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EDF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EDF#FFFFFF#000000##FFFFFF
##754EDF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#537190
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #754edf;
/* rgb */ color: rgb(117, 78, 223);
/* oklch */ color: oklch(54.8% 0.209 290.1);
Tailwind
colors: {
  custom: {
    50: '#a582ea',
    500: '#754edf',
    950: '#000000',
  },
}
SCSS
$custom: #754edf;
$custom-light: #a582ea;
$custom-dark: #000000;
JSON
{
  "hex": "#754edf",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 256.138,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.20903,
    "h": 290.1
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#754EDF
secondary
#D2E1A8
accent
#EC3CBD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #754EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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