#7B4FCB#7B4FCB

#7B4FCB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.184 H 296.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7B4FCB
RGBrgb(123, 79, 203)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(39.4%, 61.1%, 0%, 20.4%)
CIE-LABlab(44.40, 45.46, -58.06)
CIE-LCHlch(44.40, 73.74, 308.06°)
OKLaboklab(54.01% 0.0806 -0.1653)
OKLCHoklch(54.01% 0.184 296)
XYZxyz(21.7411, 14.1143, 58.0672)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FCB #9FCB4F
analogous
#4F61CB #7B4FCB #B94FCB
triadic
#7B4FCB #CB7B4F #4FCB7B
tetradic
#7B4FCB #CB4F61 #9FCB4F #4FCBB9
square
#7B4FCB #CB4F61 #9FCB4F #4FCBB9
split-complementary
#7B4FCB #CBB94F #61CB4F
monochromatic
#43247B #5D32AA #7B4FCB #9E7ED9 #C2ADE7

Accessibility & contrast

On white

5.49
#7B4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7B4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FCB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FCB#FFFFFF#000000##FFFFFF
##7B4FCB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#676A86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4fcb;
/* rgb */ color: rgb(123, 79, 203);
/* oklch */ color: oklch(54.0% 0.184 296.0);
Tailwind
colors: {
  custom: {
    50: '#a682dc',
    500: '#7b4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fcb;
$custom-light: #a682dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fcb",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 261.29,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.18392,
    "h": 296
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#7B4FCB
secondary
#C2D5A1
accent
#DE4AA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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