#7B50EF#7B50EF

#7B50EF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.225 H 289.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7B50EF
RGBrgb(123, 80, 239)
HSLhsl(256, 83%, 63%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(48.5%, 66.5%, 0%, 6.3%)
CIE-LABlab(47.21, 54.65, -73.99)
CIE-LCHlch(47.21, 91.98, 306.45°)
OKLaboklab(56.86% 0.076 -0.2121)
OKLCHoklch(56.86% 0.225 289.7)
XYZxyz(26.6126, 16.1792, 83.3653)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50EF #C4EF50
analogous
#5075EF #7B50EF #CA50EF
triadic
#7B50EF #EF7B50 #50EF7B
tetradic
#7B50EF #EF5075 #C4EF50 #50EFCA
square
#7B50EF #EF5075 #C4EF50 #50EFCA
split-complementary
#7B50EF #EFCA50 #75EF50
monochromatic
#3D10B4 #5118EA #7B50EF #A588F4 #D0C0F9

Accessibility & contrast

On white

4.96
#7B50EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7B50EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50EF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50EF#FFFFFF#000000##FFFFFF
##7B50EF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#547899
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b50ef;
/* rgb */ color: rgb(123, 80, 239);
/* oklch */ color: oklch(56.9% 0.225 289.7);
Tailwind
colors: {
  custom: {
    50: '#aa84f5',
    500: '#7b50ef',
    950: '#000000',
  },
}
SCSS
$custom: #7b50ef;
$custom-light: #aa84f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50ef",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 239
  },
  "hsl": {
    "h": 256.226,
    "s": 83.246,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.22532,
    "h": 289.7
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#7B50EF
secondary
#DBEAB0
accent
#E006A5
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B50EF

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

Preview Lab → · Contrast checker → · Palette generator →

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