#7B50FF#7B50FF

#7B50FF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.244 H 287.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7B50FF
RGBrgb(123, 80, 255)
HSLhsl(255, 100%, 66%)
HSVhsv(255, 69%, 100%)
CMYKcmyk(51.8%, 68.6%, 0%, 0%)
CIE-LABlab(48.47, 59.04, -80.87)
CIE-LCHlch(48.47, 100.13, 306.13°)
OKLaboklab(58.16% 0.0734 -0.2323)
OKLCHoklch(58.16% 0.244 287.5)
XYZxyz(29.0817, 17.1668, 96.3695)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50FF #D4FF50
analogous
#507CFF #7B50FF #D350FF
triadic
#7B50FF #FF7B50 #50FF7B
tetradic
#7B50FF #FF507C #D4FF50 #50FFD3
square
#7B50FF #FF507C #D4FF50 #50FFD3
split-complementary
#7B50FF #FFD350 #7CFF50
monochromatic
#3400D5 #4D13FF #7B50FF #A98DFF #D7CAFF

Accessibility & contrast

On white

4.74
#7B50FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7B50FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B50FF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B50FF#FFFFFF#000000##FFFFFF
##7B50FF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006EFC
Tritanopia (blue-blind)
#477DA2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b50ff;
/* rgb */ color: rgb(123, 80, 255);
/* oklch */ color: oklch(58.2% 0.244 287.5);
Tailwind
colors: {
  custom: {
    50: '#ac84ff',
    500: '#7b50ff',
    950: '#000000',
  },
}
SCSS
$custom: #7b50ff;
$custom-light: #ac84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50ff",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 255
  },
  "hsl": {
    "h": 254.743,
    "s": 100,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58157,
    "c": 0.24367,
    "h": 287.5
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#7B50FF
secondary
#E4F3B8
accent
#E600AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7B50FF

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

Preview Lab → · Contrast checker → · Palette generator →

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