#7B4BDB#7B4BDB

#7B4BDB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.208 H 293.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B4BDB
RGBrgb(123, 75, 219)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 66%, 86%)
CMYKcmyk(43.8%, 65.8%, 0%, 14.1%)
CIE-LABlab(44.74, 51.86, -66.68)
CIE-LCHlch(44.74, 84.47, 307.87°)
OKLaboklab(54.62% 0.0835 -0.1906)
OKLCHoklch(54.62% 0.208 293.7)
XYZxyz(23.4672, 14.3569, 68.5388)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BDB #ABDB4B
analogous
#4B63DB #7B4BDB #C34BDB
triadic
#7B4BDB #DB7B4B #4BDB7B
tetradic
#7B4BDB #DB4B63 #ABDB4B #4BDBC3
square
#7B4BDB #DB4B63 #ABDB4B #4BDBC3
split-complementary
#7B4BDB #DBC34B #63DB4B
monochromatic
#431D8F #5B27C2 #7B4BDB #A07EE5 #C6B1EF

Accessibility & contrast

On white

5.42
#7B4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7B4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BDB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BDB#FFFFFF#000000##FFFFFF
##7B4BDB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#606E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4bdb;
/* rgb */ color: rgb(123, 75, 219);
/* oklch */ color: oklch(54.6% 0.208 293.7);
Tailwind
colors: {
  custom: {
    50: '#a880e7',
    500: '#7b4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bdb;
$custom-light: #a880e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bdb",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 260,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.20814,
    "h": 293.7
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#7B4BDB
secondary
#CBDEA4
accent
#EA3EB0
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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