#7A55CB#7A55CB

#7A55CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.175 H 294.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7A55CB
RGBrgb(122, 85, 203)
HSLhsl(259, 53%, 56%)
HSVhsv(259, 58%, 80%)
CMYKcmyk(39.9%, 58.1%, 0%, 20.4%)
CIE-LABlab(45.56, 41.89, -56.18)
CIE-LCHlch(45.56, 70.08, 306.71°)
OKLaboklab(54.84% 0.0723 -0.1598)
OKLCHoklch(54.84% 0.175 294.3)
XYZxyz(22.0512, 14.9459, 58.2114)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55CB #A6CB55
analogous
#556BCB #7A55CB #B555CB
triadic
#7A55CB #CB7A55 #55CB7A
tetradic
#7A55CB #CB556B #A6CB55 #55CBB5
square
#7A55CB #CB556B #A6CB55 #55CBB5
split-complementary
#7A55CB #CBB555 #6BCB55
monochromatic
#42277F #5B35AE #7A55CB #9F84D9 #C3B3E8

Accessibility & contrast

On white

5.26
#7A55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7A55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55CB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55CB#FFFFFF#000000##FFFFFF
##7A55CB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#656F88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a55cb;
/* rgb */ color: rgb(122, 85, 203);
/* oklch */ color: oklch(54.8% 0.175 294.3);
Tailwind
colors: {
  custom: {
    50: '#a586db',
    500: '#7a55cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a55cb;
$custom-light: #a586db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55cb",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 258.814,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.17542,
    "h": 294.3
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#7A55CB
secondary
#C7D6A6
accent
#DD4BAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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