#754EDB#754EDB

#754EDB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.204 H 290.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#754EDB
RGBrgb(117, 78, 219)
HSLhsl(257, 66%, 58%)
HSVhsv(257, 64%, 86%)
CMYKcmyk(46.6%, 64.4%, 0%, 14.1%)
CIE-LABlab(44.72, 49.13, -66.74)
CIE-LCHlch(44.72, 82.87, 306.36°)
OKLaboklab(54.46% 0.0724 -0.191)
OKLCHoklch(54.46% 0.204 290.7)
XYZxyz(22.8431, 14.3443, 68.5692)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EDB #B4DB4E
analogous
#4E6DDB #754EDB #BC4EDB
triadic
#754EDB #DB754E #4EDB75
tetradic
#754EDB #DB4E6D #B4DB4E #4EDBBC
square
#754EDB #DB4E6D #B4DB4E #4EDBBC
split-complementary
#754EDB #DBBC4E #6DDB4E
monochromatic
#3D1E91 #5328C4 #754EDB #9D81E5 #C4B4F0

Accessibility & contrast

On white

5.43
#754EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#754EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EDB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EDB#FFFFFF#000000##FFFFFF
##754EDB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#55708E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754edb;
/* rgb */ color: rgb(117, 78, 219);
/* oklch */ color: oklch(54.5% 0.204 290.7);
Tailwind
colors: {
  custom: {
    50: '#a482e7',
    500: '#754edb',
    950: '#000000',
  },
}
SCSS
$custom: #754edb;
$custom-light: #a482e7;
$custom-dark: #000000;
JSON
{
  "hex": "#754edb",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 256.596,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.20425,
    "h": 290.7
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

primary
#754EDB
secondary
#CFDEA6
accent
#E93FBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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