#7B4FCA#7B4FCA

#7B4FCA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.183 H 296.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7B4FCA
RGBrgb(123, 79, 202)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 61%, 79%)
CMYKcmyk(39.1%, 60.9%, 0%, 20.8%)
CIE-LABlab(44.33, 45.19, -57.59)
CIE-LCHlch(44.33, 73.20, 308.12°)
OKLaboklab(53.94% 0.0807 -0.1639)
OKLCHoklch(53.94% 0.183 296.2)
XYZxyz(21.6223, 14.0668, 57.4416)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FCA #9ECA4F
analogous
#4F61CA #7B4FCA #B84FCA
triadic
#7B4FCA #CA7B4F #4FCA7B
tetradic
#7B4FCA #CA4F61 #9ECA4F #4FCAB8
square
#7B4FCA #CA4F61 #9ECA4F #4FCAB8
split-complementary
#7B4FCA #CAB84F #61CA4F
monochromatic
#43257A #5D33A9 #7B4FCA #9E7ED8 #C2ADE6

Accessibility & contrast

On white

5.51
#7B4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7B4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FCA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FCA#FFFFFF#000000##FFFFFF
##7B4FCA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#686A85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4fca;
/* rgb */ color: rgb(123, 79, 202);
/* oklch */ color: oklch(53.9% 0.183 296.2);
Tailwind
colors: {
  custom: {
    50: '#a682db',
    500: '#7b4fca',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fca;
$custom-light: #a682db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fca",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 261.463,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.1827,
    "h": 296.2
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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