#754DCF#754DCF

#754DCF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.191 H 293.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#754DCF
RGBrgb(117, 77, 207)
HSLhsl(258, 58%, 56%)
HSVhsv(258, 63%, 81%)
CMYKcmyk(43.5%, 62.8%, 0%, 18.8%)
CIE-LABlab(43.65, 46.37, -61.61)
CIE-LCHlch(43.65, 77.11, 306.97°)
OKLaboklab(53.41% 0.0746 -0.1759)
OKLCHoklch(53.41% 0.191 293)
XYZxyz(21.2494, 13.5940, 60.5237)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DCF #A7CF4D
analogous
#4D66CF #754DCF #B64DCF
triadic
#754DCF #CF754D #4DCF75
tetradic
#754DCF #CF4D66 #A7CF4D #4DCFB6
square
#754DCF #CF4D66 #A7CF4D #4DCFB6
split-complementary
#754DCF #CFB64D #66CF4D
monochromatic
#3F227F #572FAF #754DCF #9A7DDC #C0ADE9

Accessibility & contrast

On white

5.65
#754DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#754DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DCF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DCF#FFFFFF#000000##FFFFFF
##754DCF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#5C6B87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754dcf;
/* rgb */ color: rgb(117, 77, 207);
/* oklch */ color: oklch(53.4% 0.191 293.0);
Tailwind
colors: {
  custom: {
    50: '#a381de',
    500: '#754dcf',
    950: '#000000',
  },
}
SCSS
$custom: #754dcf;
$custom-light: #a381de;
$custom-dark: #000000;
JSON
{
  "hex": "#754dcf",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 258.462,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.19107,
    "h": 293
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#754DCF
secondary
#C6D7A1
accent
#E147B1
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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