#7B4FDE#7B4FDE

#7B4FDE is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.207 H 292.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7B4FDE
RGBrgb(123, 79, 222)
HSLhsl(258, 68%, 59%)
HSVhsv(258, 64%, 87%)
CMYKcmyk(44.6%, 64.4%, 0%, 12.9%)
CIE-LABlab(45.74, 50.55, -66.77)
CIE-LCHlch(45.74, 83.75, 307.13°)
OKLaboklab(55.41% 0.0791 -0.1909)
OKLCHoklch(55.41% 0.207 292.5)
XYZxyz(24.1455, 15.0761, 70.7309)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FDE #B2DE4F
analogous
#4F6BDE #7B4FDE #C34FDE
triadic
#7B4FDE #DE7B4F #4FDE7B
tetradic
#7B4FDE #DE4F6B #B2DE4F #4FDEC3
square
#7B4FDE #DE4F6B #B2DE4F #4FDEC3
split-complementary
#7B4FDE #DEC34F #6BDE4F
monochromatic
#421C96 #5826CA #7B4FDE #A283E8 #C8B6F1

Accessibility & contrast

On white

5.23
#7B4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7B4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FDE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FDE#FFFFFF#000000##FFFFFF
##7B4FDE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#5E7190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4fde;
/* rgb */ color: rgb(123, 79, 222);
/* oklch */ color: oklch(55.4% 0.207 292.5);
Tailwind
colors: {
  custom: {
    50: '#a883e9',
    500: '#7b4fde',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fde;
$custom-light: #a883e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fde",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 258.462,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.20664,
    "h": 292.5
  },
  "luminance": 0.15077
}

Semantic roles & 50–950 ramp

primary
#7B4FDE
secondary
#CFE0A8
accent
#EB3DB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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