#7554CB#7554CB

#7554CB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.177 H 292.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7554CB
RGBrgb(117, 84, 203)
HSLhsl(257, 53%, 56%)
HSVhsv(257, 59%, 80%)
CMYKcmyk(42.4%, 58.6%, 0%, 20.4%)
CIE-LABlab(44.85, 41.34, -57.36)
CIE-LCHlch(44.85, 70.71, 305.79°)
OKLaboklab(54.2% 0.0669 -0.1634)
OKLCHoklch(54.2% 0.177 292.3)
XYZxyz(21.2830, 14.4337, 58.1530)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7554CB #AACB54
analogous
#546FCB #7554CB #B154CB
triadic
#7554CB #CB7554 #54CB75
tetradic
#7554CB #CB546F #AACB54 #54CBB1
square
#7554CB #CB546F #AACB54 #54CBB1
split-complementary
#7554CB #CBB154 #6FCB54
monochromatic
#3F267E #5635AD #7554CB #9B83D9 #C1B2E8

Accessibility & contrast

On white

5.40
#7554CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7554CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7554CB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7554CB#FFFFFF#000000##FFFFFF
##7554CB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#1168C8
Tritanopia (blue-blind)
#5D6E87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7554cb;
/* rgb */ color: rgb(117, 84, 203);
/* oklch */ color: oklch(54.2% 0.177 292.3);
Tailwind
colors: {
  custom: {
    50: '#a285dc',
    500: '#7554cb',
    950: '#000000',
  },
}
SCSS
$custom: #7554cb;
$custom-light: #a285dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7554cb",
  "rgb": {
    "r": 117,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 256.639,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.1766,
    "h": 292.3
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#7554CB
secondary
#C8D6A5
accent
#DD4BB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7554CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7554CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva