#754BCC#754BCC

#754BCC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.190 H 293.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#754BCC
RGBrgb(117, 75, 204)
HSLhsl(260, 56%, 55%)
HSVhsv(260, 63%, 80%)
CMYKcmyk(42.6%, 63.2%, 0%, 20%)
CIE-LABlab(43.02, 46.65, -60.89)
CIE-LCHlch(43.02, 76.70, 307.46°)
OKLaboklab(52.89% 0.077 -0.1738)
OKLCHoklch(52.89% 0.19 293.9)
XYZxyz(20.7483, 13.1731, 58.5645)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BCC #A2CC4B
analogous
#4B62CC #754BCC #B64BCC
triadic
#754BCC #CC754B #4BCC75
tetradic
#754BCC #CC4B62 #A2CC4B #4BCCB6
square
#754BCC #CC4B62 #A2CC4B #4BCCB6
split-complementary
#754BCC #CCB64B #62CC4B
monochromatic
#3F237A #5830AA #754BCC #9A7BDA #BEAAE7

Accessibility & contrast

On white

5.78
#754BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#754BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BCC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BCC#FFFFFF#000000##FFFFFF
##754BCC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#5D6985
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #754bcc;
/* rgb */ color: rgb(117, 75, 204);
/* oklch */ color: oklch(52.9% 0.190 293.9);
Tailwind
colors: {
  custom: {
    50: '#a37fdc',
    500: '#754bcc',
    950: '#000000',
  },
}
SCSS
$custom: #754bcc;
$custom-light: #a37fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#754bcc",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 259.535,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.19009,
    "h": 293.9
  },
  "luminance": 0.13174
}

Semantic roles & 50–950 ramp

primary
#754BCC
secondary
#C3D59E
accent
#DF49AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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