#7B48C1#7B48C1

#7B48C1 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.182 H 299.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7B48C1
RGBrgb(123, 72, 193)
HSLhsl(265, 49%, 52%)
HSVhsv(265, 63%, 76%)
CMYKcmyk(36.3%, 62.7%, 0%, 24.3%)
CIE-LABlab(42.30, 46.64, -55.64)
CIE-LCHlch(42.30, 72.60, 309.97°)
OKLaboklab(52.27% 0.0893 -0.1582)
OKLCHoklch(52.27% 0.182 299.5)
XYZxyz(20.1090, 12.6957, 51.8328)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48C1 #8EC148
analogous
#4852C1 #7B48C1 #B848C1
triadic
#7B48C1 #C17B48 #48C17B
tetradic
#7B48C1 #C14852 #8EC148 #48C1B8
square
#7B48C1 #C14852 #8EC148 #48C1B8
split-complementary
#7B48C1 #C1B848 #52C148
monochromatic
#42246B #5E3498 #7B48C1 #9C76D0 #BDA3E0

Accessibility & contrast

On white

5.93
#7B48C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7B48C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48C1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48C1#FFFFFF#000000##FFFFFF
##7B48C11.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#1463BE
Tritanopia (blue-blind)
#6B637E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b48c1;
/* rgb */ color: rgb(123, 72, 193);
/* oklch */ color: oklch(52.3% 0.182 299.5);
Tailwind
colors: {
  custom: {
    50: '#a67ed4',
    500: '#7b48c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b48c1;
$custom-light: #a67ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48c1",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 193
  },
  "hsl": {
    "h": 265.289,
    "s": 49.388,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.18166,
    "h": 299.5
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#7B48C1
secondary
#B7CD98
accent
#D94F9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B48C1

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

Preview Lab → · Contrast checker → · Palette generator →

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