#7B4BEE#7B4BEE

#7B4BEE is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.230 H 290.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7B4BEE
RGBrgb(123, 75, 238)
HSLhsl(258, 83%, 61%)
HSVhsv(258, 68%, 93%)
CMYKcmyk(48.3%, 68.5%, 0%, 6.7%)
CIE-LABlab(46.20, 56.95, -75.07)
CIE-LCHlch(46.20, 94.23, 307.18°)
OKLaboklab(56.12% 0.0807 -0.2153)
OKLCHoklch(56.12% 0.23 290.5)
XYZxyz(26.1127, 15.4151, 82.4719)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BEE #BEEE4B
analogous
#4B6DEE #7B4BEE #CD4BEE
triadic
#7B4BEE #EE7B4B #4BEE7B
tetradic
#7B4BEE #EE4B6D #BEEE4B #4BEECD
square
#7B4BEE #EE4B6D #BEEE4B #4BEECD
split-complementary
#7B4BEE #EECD4B #6DEE4B
monochromatic
#3F10AE #5316E6 #7B4BEE #A483F3 #CDBBF9

Accessibility & contrast

On white

5.14
#7B4BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7B4BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BEE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BEE#FFFFFF#000000##FFFFFF
##7B4BEE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#557497
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b4bee;
/* rgb */ color: rgb(123, 75, 238);
/* oklch */ color: oklch(56.1% 0.230 290.5);
Tailwind
colors: {
  custom: {
    50: '#aa81f5',
    500: '#7b4bee',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bee;
$custom-light: #aa81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bee",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 238
  },
  "hsl": {
    "h": 257.669,
    "s": 82.741,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56115,
    "c": 0.22994,
    "h": 290.5
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#7B4BEE
secondary
#D7E9AC
accent
#DF069F
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B4BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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