#7554F2#7554F2

#7554F2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.224 H 286.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7554F2
RGBrgb(117, 84, 242)
HSLhsl(253, 86%, 64%)
HSVhsv(253, 65%, 95%)
CMYKcmyk(51.7%, 65.3%, 0%, 5.1%)
CIE-LABlab(47.66, 52.34, -74.95)
CIE-LCHlch(47.66, 91.42, 304.93°)
OKLaboklab(57.13% 0.0639 -0.2151)
OKLCHoklch(57.13% 0.224 286.5)
XYZxyz(26.5287, 16.5320, 85.7803)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7554F2 #D1F254
analogous
#5482F2 #7554F2 #C454F2
triadic
#7554F2 #F27554 #54F275
tetradic
#7554F2 #F25482 #D1F254 #54F2C4
square
#7554F2 #F25482 #D1F254 #54F2C4
split-complementary
#7554F2 #F2C454 #82F254
monochromatic
#330EBD #471BEE #7554F2 #A38DF6 #D1C6FB

Accessibility & contrast

On white

4.88
#7554F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7554F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7554F2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7554F2#FFFFFF#000000##FFFFFF
##7554F21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#447B9C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7554f2;
/* rgb */ color: rgb(117, 84, 242);
/* oklch */ color: oklch(57.1% 0.224 286.5);
Tailwind
colors: {
  custom: {
    50: '#a786f7',
    500: '#7554f2',
    950: '#000000',
  },
}
SCSS
$custom: #7554f2;
$custom-light: #a786f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7554f2",
  "rgb": {
    "r": 117,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 252.532,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.22444,
    "h": 286.5
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#7554F2
secondary
#E1EDB5
accent
#E203B4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7554F2

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

Preview Lab → · Contrast checker → · Palette generator →

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