#7B50CA#7B50CA

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

Color values

HEX#7B50CA
RGBrgb(123, 80, 202)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 60%, 79%)
CMYKcmyk(39.1%, 60.4%, 0%, 20.8%)
CIE-LABlab(44.54, 44.64, -57.26)
CIE-LCHlch(44.54, 72.60, 307.94°)
OKLaboklab(54.09% 0.0795 -0.1629)
OKLCHoklch(54.09% 0.181 296)
XYZxyz(21.6949, 14.2121, 57.4659)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B50CA #9FCA50
analogous
#5062CA #7B50CA #B850CA
triadic
#7B50CA #CA7B50 #50CA7B
tetradic
#7B50CA #CA5062 #9FCA50 #50CAB8
square
#7B50CA #CA5062 #9FCA50 #50CAB8
split-complementary
#7B50CA #CAB850 #62CA50
monochromatic
#43257A #5D33A9 #7B50CA #9E7FD8 #C2AEE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B50CA#FFFFFF#000000##FFFFFF
##7B50CA1.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)
#006ACE
Deuteranopia (green-blind)
#1468C7
Tritanopia (blue-blind)
#676B85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b50ca;
/* rgb */ color: rgb(123, 80, 202);
/* oklch */ color: oklch(54.1% 0.181 296.0);
Tailwind
colors: {
  custom: {
    50: '#a683db',
    500: '#7b50ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b50ca;
$custom-light: #a683db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b50ca",
  "rgb": {
    "r": 123,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 261.148,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.18131,
    "h": 296
  },
  "luminance": 0.14213
}

Semantic roles & 50–950 ramp

primary
#7B50CA
secondary
#C2D4A1
accent
#DD4BA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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