#7B50DD#7B50DD

#7B50DD is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.204 H 292.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7B50DD
RGBrgb(123, 80, 221)
HSLhsl(258, 67%, 59%)
HSVhsv(258, 64%, 87%)
CMYKcmyk(44.3%, 63.8%, 0%, 13.3%)
CIE-LABlab(45.86, 49.75, -66.00)
CIE-LCHlch(45.86, 82.64, 307.01°)
OKLaboklab(55.47% 0.0782 -0.1886)
OKLCHoklch(55.47% 0.204 292.5)
XYZxyz(24.0846, 15.1680, 70.0513)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50DD #B2DD50
analogous
#506CDD #7B50DD #C250DD
triadic
#7B50DD #DD7B50 #50DD7B
tetradic
#7B50DD #DD506C #B2DD50 #50DDC2
square
#7B50DD #DD506C #B2DD50 #50DDC2
split-complementary
#7B50DD #DDC250 #6CDD50
monochromatic
#421D96 #5827C9 #7B50DD #A283E7 #C8B6F1

Accessibility & contrast

On white

5.21
#7B50DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7B50DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50DD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50DD#FFFFFF#000000##FFFFFF
##7B50DD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#5F718F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b50dd;
/* rgb */ color: rgb(123, 80, 221);
/* oklch */ color: oklch(55.5% 0.204 292.5);
Tailwind
colors: {
  custom: {
    50: '#a883e8',
    500: '#7b50dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b50dd;
$custom-light: #a883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50dd",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 221
  },
  "hsl": {
    "h": 258.298,
    "s": 67.464,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.20419,
    "h": 292.5
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#7B50DD
secondary
#CFE0A9
accent
#EA3DB6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B50DD

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

Preview Lab → · Contrast checker → · Palette generator →

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