#7B4BDE#7B4BDE

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

Color values

HEX#7B4BDE
RGBrgb(123, 75, 222)
HSLhsl(260, 69%, 58%)
HSVhsv(260, 66%, 87%)
CMYKcmyk(44.6%, 66.2%, 0%, 12.9%)
CIE-LABlab(44.96, 52.66, -68.03)
CIE-LCHlch(44.96, 86.03, 307.74°)
OKLaboklab(54.85% 0.0831 -0.1946)
OKLCHoklch(54.85% 0.212 293.1)
XYZxyz(23.8657, 14.5163, 70.6376)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BDE #AEDE4B
analogous
#4B64DE #7B4BDE #C44BDE
triadic
#7B4BDE #DE7B4B #4BDE7B
tetradic
#7B4BDE #DE4B64 #AEDE4B #4BDEC4
square
#7B4BDE #DE4B64 #AEDE4B #4BDEC4
split-complementary
#7B4BDE #DEC44B #64DE4B
monochromatic
#421B94 #5A25C7 #7B4BDE #A17FE7 #C7B2F1

Accessibility & contrast

On white

5.38
#7B4BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7B4BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BDE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BDE#FFFFFF#000000##FFFFFF
##7B4BDE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#5E6F8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4bde;
/* rgb */ color: rgb(123, 75, 222);
/* oklch */ color: oklch(54.8% 0.212 293.1);
Tailwind
colors: {
  custom: {
    50: '#a980e9',
    500: '#7b4bde',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bde;
$custom-light: #a980e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bde",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 259.592,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.21161,
    "h": 293.1
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#7B4BDE
secondary
#CDE0A5
accent
#EC3CB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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