#7B4FEF#7B4FEF

#7B4FEF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.226 H 289.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7B4FEF
RGBrgb(123, 79, 239)
HSLhsl(257, 83%, 62%)
HSVhsv(257, 67%, 94%)
CMYKcmyk(48.5%, 66.9%, 0%, 6.3%)
CIE-LABlab(47.02, 55.17, -74.30)
CIE-LCHlch(47.02, 92.54, 306.60°)
OKLaboklab(56.73% 0.0769 -0.213)
OKLCHoklch(56.73% 0.226 289.8)
XYZxyz(26.5399, 16.0338, 83.3411)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FEF #C3EF4F
analogous
#4F73EF #7B4FEF #CB4FEF
triadic
#7B4FEF #EF7B4F #4FEF7B
tetradic
#7B4FEF #EF4F73 #C3EF4F #4FEFCB
square
#7B4FEF #EF4F73 #C3EF4F #4FEFCB
split-complementary
#7B4FEF #EFCB4F #73EF4F
monochromatic
#3D10B3 #5117EA #7B4FEF #A587F4 #CFBFF9

Accessibility & contrast

On white

4.99
#7B4FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7B4FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FEF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FEF#FFFFFF#000000##FFFFFF
##7B4FEF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#547799
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7b4fef;
/* rgb */ color: rgb(123, 79, 239);
/* oklch */ color: oklch(56.7% 0.226 289.8);
Tailwind
colors: {
  custom: {
    50: '#aa83f5',
    500: '#7b4fef',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fef;
$custom-light: #aa83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fef",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 256.5,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.22649,
    "h": 289.8
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#7B4FEF
secondary
#DAEAB0
accent
#E006A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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