#7B4CDF#7B4CDF

#7B4CDF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.212 H 292.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7B4CDF
RGBrgb(123, 76, 223)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 66%, 87%)
CMYKcmyk(44.8%, 65.9%, 0%, 12.5%)
CIE-LABlab(45.23, 52.41, -68.16)
CIE-LCHlch(45.23, 85.98, 307.56°)
OKLaboklab(55.06% 0.082 -0.195)
OKLCHoklch(55.06% 0.212 292.8)
XYZxyz(24.0684, 14.7068, 71.3683)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CDF #B0DF4C
analogous
#4C66DF #7B4CDF #C44CDF
triadic
#7B4CDF #DF7B4C #4CDF7B
tetradic
#7B4CDF #DF4C66 #B0DF4C #4CDFC4
square
#7B4CDF #DF4C66 #B0DF4C #4CDFC4
split-complementary
#7B4CDF #DFC44C #66DF4C
monochromatic
#421B96 #5924CA #7B4CDF #A180E8 #C8B4F2

Accessibility & contrast

On white

5.33
#7B4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7B4CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CDF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CDF#FFFFFF#000000##FFFFFF
##7B4CDF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE4
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#5E708F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4cdf;
/* rgb */ color: rgb(123, 76, 223);
/* oklch */ color: oklch(55.1% 0.212 292.8);
Tailwind
colors: {
  custom: {
    50: '#a981ea',
    500: '#7b4cdf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cdf;
$custom-light: #a981ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cdf",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 259.184,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.21155,
    "h": 292.8
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#7B4CDF
secondary
#CEE0A6
accent
#EC3BB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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