#7B4CEF#7B4CEF

#7B4CEF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.230 H 290.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B4CEF
RGBrgb(123, 76, 239)
HSLhsl(257, 84%, 62%)
HSVhsv(257, 68%, 94%)
CMYKcmyk(48.5%, 68.2%, 0%, 6.3%)
CIE-LABlab(46.46, 56.71, -75.21)
CIE-LCHlch(46.46, 94.19, 307.02°)
OKLaboklab(56.33% 0.0796 -0.2157)
OKLCHoklch(56.33% 0.23 290.3)
XYZxyz(26.3284, 15.6108, 83.2706)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CEF #C0EF4C
analogous
#4C6EEF #7B4CEF #CD4CEF
triadic
#7B4CEF #EF7B4C #4CEF7B
tetradic
#7B4CEF #EF4C6E #C0EF4C #4CEFCD
square
#7B4CEF #EF4C6E #C0EF4C #4CEFCD
split-complementary
#7B4CEF #EFCD4C #6EEF4C
monochromatic
#3E10B1 #5215E9 #7B4CEF #A484F4 #CEBCF9

Accessibility & contrast

On white

5.09
#7B4CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7B4CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CEF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CEF#FFFFFF#000000##FFFFFF
##7B4CEF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#547598
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b4cef;
/* rgb */ color: rgb(123, 76, 239);
/* oklch */ color: oklch(56.3% 0.230 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa81f5',
    500: '#7b4cef',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cef;
$custom-light: #aa81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cef",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 239
  },
  "hsl": {
    "h": 257.301,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56327,
    "c": 0.22994,
    "h": 290.3
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#7B4CEF
secondary
#D8EAAD
accent
#E005A1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7B4CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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