#7A55BB#7A55BB

#7A55BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.155 H 297.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7A55BB
RGBrgb(122, 85, 187)
HSLhsl(262, 43%, 53%)
HSVhsv(262, 55%, 73%)
CMYKcmyk(34.8%, 54.5%, 0%, 26.7%)
CIE-LABlab(44.55, 37.60, -48.54)
CIE-LCHlch(44.55, 61.40, 307.76°)
OKLaboklab(53.77% 0.0721 -0.1374)
OKLCHoklch(53.77% 0.155 297.7)
XYZxyz(20.2420, 14.2222, 48.6828)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55BB #96BB55
analogous
#5563BB #7A55BB #AD55BB
triadic
#7A55BB #BB7A55 #55BB7A
tetradic
#7A55BB #BB5563 #96BB55 #55BBAD
square
#7A55BB #BB5563 #96BB55 #55BBAD
split-complementary
#7A55BB #BBAD55 #63BB55
monochromatic
#422B6B #5D3C97 #7A55BB #9C81CC #BEACDE

Accessibility & contrast

On white

5.46
#7A55BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7A55BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55BB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55BB#FFFFFF#000000##FFFFFF
##7A55BB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6ABE
Deuteranopia (green-blind)
#3668B9
Tritanopia (blue-blind)
#6C6980
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a55bb;
/* rgb */ color: rgb(122, 85, 187);
/* oklch */ color: oklch(53.8% 0.155 297.7);
Tailwind
colors: {
  custom: {
    50: '#a486d0',
    500: '#7a55bb',
    950: '#000000',
  },
}
SCSS
$custom: #7a55bb;
$custom-light: #a486d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55bb",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 261.765,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53767,
    "c": 0.15513,
    "h": 297.7
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#7A55BB
secondary
#BCCCA0
accent
#D355A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7A55BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7A55BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva