#7A50CB#7A50CB

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

Color values

HEX#7A50CB
RGBrgb(122, 80, 203)
HSLhsl(260, 54%, 55%)
HSVhsv(260, 61%, 80%)
CMYKcmyk(39.9%, 60.6%, 0%, 20.4%)
CIE-LABlab(44.50, 44.69, -57.90)
CIE-LCHlch(44.50, 73.14, 307.66°)
OKLaboklab(54.06% 0.0781 -0.1649)
OKLCHoklch(54.06% 0.182 295.4)
XYZxyz(21.6714, 14.1862, 58.0848)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50CB #A1CB50
analogous
#5063CB #7A50CB #B850CB
triadic
#7A50CB #CB7A50 #50CB7A
tetradic
#7A50CB #CB5063 #A1CB50 #50CBB8
square
#7A50CB #CB5063 #A1CB50 #50CBB8
split-complementary
#7A50CB #CBB850 #63CB50
monochromatic
#43257C #5C33AB #7A50CB #9E7FD9 #C2AEE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A50CB#FFFFFF#000000##FFFFFF
##7A50CB1.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)
#006ACF
Deuteranopia (green-blind)
#0E67C8
Tritanopia (blue-blind)
#656B86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a50cb;
/* rgb */ color: rgb(122, 80, 203);
/* oklch */ color: oklch(54.1% 0.182 295.4);
Tailwind
colors: {
  custom: {
    50: '#a683dc',
    500: '#7a50cb',
    950: '#000000',
  },
}
SCSS
$custom: #7a50cb;
$custom-light: #a683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50cb",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 260.488,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54059,
    "c": 0.18244,
    "h": 295.4
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#7A50CB
secondary
#C4D5A2
accent
#DE4AAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7A50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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