#7A55BA#7A55BA

#7A55BA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.7% C 0.154 H 297.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7A55BA
RGBrgb(122, 85, 186)
HSLhsl(262, 42%, 53%)
HSVhsv(262, 54%, 73%)
CMYKcmyk(34.4%, 54.3%, 0%, 27.1%)
CIE-LABlab(44.49, 37.33, -48.05)
CIE-LCHlch(44.49, 60.85, 307.85°)
OKLaboklab(53.7% 0.0721 -0.1359)
OKLCHoklch(53.7% 0.154 297.9)
XYZxyz(20.1353, 14.1795, 48.1209)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55BA #95BA55
analogous
#5562BA #7A55BA #AC55BA
triadic
#7A55BA #BA7A55 #55BA7A
tetradic
#7A55BA #BA5562 #95BA55 #55BAAC
square
#7A55BA #BA5562 #95BA55 #55BAAC
split-complementary
#7A55BA #BAAC55 #62BA55
monochromatic
#422B6A #5D3D95 #7A55BA #9C81CC #BEACDD

Accessibility & contrast

On white

5.47
#7A55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A55BA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55BA#FFFFFF#000000##FFFFFF
##7A55BA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#6C697F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a55ba;
/* rgb */ color: rgb(122, 85, 186);
/* oklch */ color: oklch(53.7% 0.154 297.9);
Tailwind
colors: {
  custom: {
    50: '#a486cf',
    500: '#7a55ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a55ba;
$custom-light: #a486cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55ba",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 261.98,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.15386,
    "h": 297.9
  },
  "luminance": 0.1418
}

Semantic roles & 50–950 ramp

primary
#7A55BA
secondary
#BBCBA0
accent
#D256A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7A55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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