#7B48CD#7B48CD

#7B48CD is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.196 H 296.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7B48CD
RGBrgb(123, 72, 205)
HSLhsl(263, 57%, 54%)
HSVhsv(263, 65%, 80%)
CMYKcmyk(40%, 64.9%, 0%, 19.6%)
CIE-LABlab(43.14, 49.74, -61.24)
CIE-LCHlch(43.14, 78.89, 309.08°)
OKLaboklab(53.14% 0.0883 -0.1746)
OKLCHoklch(53.14% 0.196 296.8)
XYZxyz(21.5023, 13.2531, 59.1710)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48CD #9ACD48
analogous
#4857CD #7B48CD #BE48CD
triadic
#7B48CD #CD7B48 #48CD7B
tetradic
#7B48CD #CD4857 #9ACD48 #48CDBE
square
#7B48CD #CD4857 #9ACD48 #48CDBE
split-complementary
#7B48CD #CDBE48 #57CD48
monochromatic
#432179 #5E2EA9 #7B48CD #9E78DA #C0A8E7

Accessibility & contrast

On white

5.75
#7B48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7B48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48CD#FFFFFF#000000##FFFFFF
##7B48CD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#676784
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b48cd;
/* rgb */ color: rgb(123, 72, 205);
/* oklch */ color: oklch(53.1% 0.196 296.8);
Tailwind
colors: {
  custom: {
    50: '#a77edd',
    500: '#7b48cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b48cd;
$custom-light: #a77edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48cd",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 263.008,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.19569,
    "h": 296.8
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#7B48CD
secondary
#BFD59C
accent
#E047A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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