#754DDB#754DDB

#754DDB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.206 H 290.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#754DDB
RGBrgb(117, 77, 219)
HSLhsl(257, 66%, 58%)
HSVhsv(257, 65%, 86%)
CMYKcmyk(46.6%, 64.8%, 0%, 14.1%)
CIE-LABlab(44.52, 49.67, -67.06)
CIE-LCHlch(44.52, 83.45, 306.53°)
OKLaboklab(54.32% 0.0734 -0.192)
OKLCHoklch(54.32% 0.206 290.9)
XYZxyz(22.7726, 14.2033, 68.5457)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DDB #B3DB4D
analogous
#4D6CDB #754DDB #BC4DDB
triadic
#754DDB #DB754D #4DDB75
tetradic
#754DDB #DB4D6C #B3DB4D #4DDBBC
square
#754DDB #DB4D6C #B3DB4D #4DDBBC
split-complementary
#754DDB #DBBC4D #6CDB4D
monochromatic
#3E1D90 #5327C3 #754DDB #9C80E5 #C4B3F0

Accessibility & contrast

On white

5.47
#754DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754DDB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DDB#FFFFFF#000000##FFFFFF
##754DDB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#556F8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754ddb;
/* rgb */ color: rgb(117, 77, 219);
/* oklch */ color: oklch(54.3% 0.206 290.9);
Tailwind
colors: {
  custom: {
    50: '#a481e7',
    500: '#754ddb',
    950: '#000000',
  },
}
SCSS
$custom: #754ddb;
$custom-light: #a481e7;
$custom-dark: #000000;
JSON
{
  "hex": "#754ddb",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 256.901,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.20551,
    "h": 290.9
  },
  "luminance": 0.14204
}

Semantic roles & 50–950 ramp

primary
#754DDB
secondary
#CEDEA6
accent
#E93FB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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