#754CDF#754CDF

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

Color values

HEX#754CDF
RGBrgb(117, 76, 223)
HSLhsl(257, 70%, 59%)
HSVhsv(257, 66%, 87%)
CMYKcmyk(47.5%, 65.9%, 0%, 12.5%)
CIE-LABlab(44.63, 51.31, -69.17)
CIE-LCHlch(44.63, 86.12, 306.57°)
OKLaboklab(54.49% 0.0739 -0.1982)
OKLCHoklch(54.49% 0.211 290.4)
XYZxyz(23.2361, 14.2776, 71.3293)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CDF #B6DF4C
analogous
#4C6CDF #754CDF #BE4CDF
triadic
#754CDF #DF754C #4CDF75
tetradic
#754CDF #DF4C6C #B6DF4C #4CDFBE
square
#754CDF #DF4C6C #B6DF4C #4CDFBE
split-complementary
#754CDF #DFBE4C #6CDF4C
monochromatic
#3D1B96 #5224CA #754CDF #9D80E8 #C5B4F2

Accessibility & contrast

On white

5.45
#754CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#754CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CDF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CDF#FFFFFF#000000##FFFFFF
##754CDF1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#53708F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #754cdf;
/* rgb */ color: rgb(117, 76, 223);
/* oklch */ color: oklch(54.5% 0.211 290.4);
Tailwind
colors: {
  custom: {
    50: '#a581ea',
    500: '#754cdf',
    950: '#000000',
  },
}
SCSS
$custom: #754cdf;
$custom-light: #a581ea;
$custom-dark: #000000;
JSON
{
  "hex": "#754cdf",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 256.735,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.21148,
    "h": 290.4
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#754CDF
secondary
#D0E0A6
accent
#EC3BBB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #754CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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