#754CDB#754CDB

#754CDB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.207 H 291.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#754CDB
RGBrgb(117, 76, 219)
HSLhsl(257, 67%, 58%)
HSVhsv(257, 65%, 86%)
CMYKcmyk(46.6%, 65.3%, 0%, 14.1%)
CIE-LABlab(44.33, 50.21, -67.38)
CIE-LCHlch(44.33, 84.03, 306.69°)
OKLaboklab(54.18% 0.0744 -0.1929)
OKLCHoklch(54.18% 0.207 291.1)
XYZxyz(22.7031, 14.0644, 68.5226)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CDB #B2DB4C
analogous
#4C6ADB #754CDB #BD4CDB
triadic
#754CDB #DB754C #4CDB75
tetradic
#754CDB #DB4C6A #B2DB4C #4CDBBD
square
#754CDB #DB4C6A #B2DB4C #4CDBBD
split-complementary
#754CDB #DBBD4C #6ADB4C
monochromatic
#3E1D90 #5427C3 #754CDB #9C7FE5 #C4B2EF

Accessibility & contrast

On white

5.51
#754CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#754CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CDB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CDB#FFFFFF#000000##FFFFFF
##754CDB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #754cdb;
/* rgb */ color: rgb(117, 76, 219);
/* oklch */ color: oklch(54.2% 0.207 291.1);
Tailwind
colors: {
  custom: {
    50: '#a580e7',
    500: '#754cdb',
    950: '#000000',
  },
}
SCSS
$custom: #754cdb;
$custom-light: #a580e7;
$custom-dark: #000000;
JSON
{
  "hex": "#754cdb",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 257.203,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.20675,
    "h": 291.1
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#754CDB
secondary
#CEDEA5
accent
#E93EB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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