#7B4ADF#7B4ADF

#7B4ADF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.8% C 0.214 H 293.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B4ADF
RGBrgb(123, 74, 223)
HSLhsl(260, 70%, 58%)
HSVhsv(260, 67%, 87%)
CMYKcmyk(44.8%, 66.8%, 0%, 12.5%)
CIE-LABlab(44.85, 53.44, -68.78)
CIE-LCHlch(44.85, 87.10, 307.85°)
OKLaboklab(54.79% 0.084 -0.1968)
OKLCHoklch(54.79% 0.214 293.1)
XYZxyz(23.9328, 14.4355, 71.3231)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ADF #AEDF4A
analogous
#4A63DF #7B4ADF #C64ADF
triadic
#7B4ADF #DF7B4A #4ADF7B
tetradic
#7B4ADF #DF4A63 #AEDF4A #4ADFC6
square
#7B4ADF #DF4A63 #AEDF4A #4ADFC6
split-complementary
#7B4ADF #DFC64A #63DF4A
monochromatic
#421A94 #5A23C8 #7B4ADF #A17EE8 #C7B2F1

Accessibility & contrast

On white

5.40
#7B4ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7B4ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4ADF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4ADF#FFFFFF#000000##FFFFFF
##7B4ADF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#5E6E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4adf;
/* rgb */ color: rgb(123, 74, 223);
/* oklch */ color: oklch(54.8% 0.214 293.1);
Tailwind
colors: {
  custom: {
    50: '#a980ea',
    500: '#7b4adf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4adf;
$custom-light: #a980ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4adf",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 259.732,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.21399,
    "h": 293.1
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#7B4ADF
secondary
#CDE0A5
accent
#ED3BB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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