#754DCD#754DCD

#754DCD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.189 H 293.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#754DCD
RGBrgb(117, 77, 205)
HSLhsl(259, 56%, 55%)
HSVhsv(259, 62%, 80%)
CMYKcmyk(42.9%, 62.4%, 0%, 19.6%)
CIE-LABlab(43.50, 45.83, -60.69)
CIE-LCHlch(43.50, 76.04, 307.06°)
OKLaboklab(53.26% 0.0747 -0.1732)
OKLCHoklch(53.26% 0.189 293.3)
XYZxyz(21.0065, 13.4969, 59.2441)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DCD #A5CD4D
analogous
#4D65CD #754DCD #B54DCD
triadic
#754DCD #CD754D #4DCD75
tetradic
#754DCD #CD4D65 #A5CD4D #4DCDB5
square
#754DCD #CD4D65 #A5CD4D #4DCDB5
split-complementary
#754DCD #CDB54D #65CD4D
monochromatic
#3F237D #5730AC #754DCD #9A7DDA #BFADE8

Accessibility & contrast

On white

5.68
#754DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#754DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754DCD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DCD#FFFFFF#000000##FFFFFF
##754DCD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#5D6A86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #754dcd;
/* rgb */ color: rgb(117, 77, 205);
/* oklch */ color: oklch(53.3% 0.189 293.3);
Tailwind
colors: {
  custom: {
    50: '#a381dd',
    500: '#754dcd',
    950: '#000000',
  },
}
SCSS
$custom: #754dcd;
$custom-light: #a381dd;
$custom-dark: #000000;
JSON
{
  "hex": "#754dcd",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 258.75,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53258,
    "c": 0.18864,
    "h": 293.3
  },
  "luminance": 0.13497
}

Semantic roles & 50–950 ramp

primary
#754DCD
secondary
#C5D6A0
accent
#DF48B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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