#7B48FF#7B48FF

#7B48FF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.2% C 0.252 H 288.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7B48FF
RGBrgb(123, 72, 255)
HSLhsl(257, 100%, 64%)
HSVhsv(257, 72%, 100%)
CMYKcmyk(51.8%, 71.8%, 0%, 0%)
CIE-LABlab(47.06, 62.98, -83.18)
CIE-LCHlch(47.06, 104.33, 307.13°)
OKLaboklab(57.16% 0.0799 -0.2391)
OKLCHoklch(57.16% 0.252 288.5)
XYZxyz(28.5305, 16.0643, 96.1858)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48FF #CCFF48
analogous
#4871FF #7B48FF #D648FF
triadic
#7B48FF #FF7B48 #48FF7B
tetradic
#7B48FF #FF4871 #CCFF48 #48FFD6
square
#7B48FF #FF4871 #CCFF48 #48FFD6
split-complementary
#7B48FF #FFD648 #71FF48
monochromatic
#3900CD #4F0BFF #7B48FF #A785FF #D3C2FF

Accessibility & contrast

On white

4.98
#7B48FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7B48FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48FF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48FF#FFFFFF#000000##FFFFFF
##7B48FF1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#006BFC
Tritanopia (blue-blind)
#4879A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7b48ff;
/* rgb */ color: rgb(123, 72, 255);
/* oklch */ color: oklch(57.2% 0.252 288.5);
Tailwind
colors: {
  custom: {
    50: '#ad80ff',
    500: '#7b48ff',
    950: '#000000',
  },
}
SCSS
$custom: #7b48ff;
$custom-light: #ad80ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48ff",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 256.721,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.25208,
    "h": 288.5
  },
  "luminance": 0.16066
}

Semantic roles & 50–950 ramp

primary
#7B48FF
secondary
#E0F1B1
accent
#E600A6
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#120A18
muted
#817C86

Preview Lab

Preview with #7B48FF

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

Preview Lab → · Contrast checker → · Palette generator →

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