#754CDD#754CDD

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

Color values

HEX#754CDD
RGBrgb(117, 76, 221)
HSLhsl(257, 68%, 58%)
HSVhsv(257, 66%, 87%)
CMYKcmyk(47.1%, 65.6%, 0%, 13.3%)
CIE-LABlab(44.48, 50.76, -68.28)
CIE-LCHlch(44.48, 85.08, 306.63°)
OKLaboklab(54.33% 0.0741 -0.1955)
OKLCHoklch(54.33% 0.209 290.8)
XYZxyz(22.9680, 14.1704, 69.9176)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CDD #B4DD4C
analogous
#4C6BDD #754CDD #BE4CDD
triadic
#754CDD #DD754C #4CDD75
tetradic
#754CDD #DD4C6B #B4DD4C #4CDDBE
square
#754CDD #DD4C6B #B4DD4C #4CDDBE
split-complementary
#754CDD #DDBE4C #6BDD4C
monochromatic
#3D1C93 #5326C6 #754CDD #9D7FE7 #C4B3F1

Accessibility & contrast

On white

5.48
#754CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#754CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CDD
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CDD#FFFFFF#000000##FFFFFF
##754CDD1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#546F8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #754cdd;
/* rgb */ color: rgb(117, 76, 221);
/* oklch */ color: oklch(54.3% 0.209 290.8);
Tailwind
colors: {
  custom: {
    50: '#a580e9',
    500: '#754cdd',
    950: '#000000',
  },
}
SCSS
$custom: #754cdd;
$custom-light: #a580e9;
$custom-dark: #000000;
JSON
{
  "hex": "#754cdd",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 256.966,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.20911,
    "h": 290.8
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#754CDD
secondary
#CFDFA6
accent
#EB3DBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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