#7A50DB#7A50DB

#7A50DB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.202 H 292.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A50DB
RGBrgb(122, 80, 219)
HSLhsl(258, 66%, 59%)
HSVhsv(258, 63%, 86%)
CMYKcmyk(44.3%, 63.5%, 0%, 14.1%)
CIE-LABlab(45.62, 49.01, -65.26)
CIE-LCHlch(45.62, 81.61, 306.91°)
OKLaboklab(55.23% 0.077 -0.1865)
OKLCHoklch(55.23% 0.202 292.4)
XYZxyz(23.6774, 14.9886, 68.6497)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A50DB #B1DB50
analogous
#506BDB #7A50DB #BF50DB
triadic
#7A50DB #DB7A50 #50DB7A
tetradic
#7A50DB #DB506B #B1DB50 #50DBBF
square
#7A50DB #DB506B #B1DB50 #50DBBF
split-complementary
#7A50DB #DBBF50 #6BDB50
monochromatic
#411E92 #5829C5 #7A50DB #A183E5 #C7B6F0

Accessibility & contrast

On white

5.25
#7A50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7A50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A50DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A50DB#FFFFFF#000000##FFFFFF
##7A50DB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#5E718E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a50db;
/* rgb */ color: rgb(122, 80, 219);
/* oklch */ color: oklch(55.2% 0.202 292.4);
Tailwind
colors: {
  custom: {
    50: '#a783e7',
    500: '#7a50db',
    950: '#000000',
  },
}
SCSS
$custom: #7a50db;
$custom-light: #a783e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a50db",
  "rgb": {
    "r": 122,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 258.129,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.20178,
    "h": 292.4
  },
  "luminance": 0.14989
}

Semantic roles & 50–950 ramp

primary
#7A50DB
secondary
#CEDFA8
accent
#E93FB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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