#7B48DD#7B48DD

#7B48DD is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.214 H 293.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7B48DD
RGBrgb(123, 72, 221)
HSLhsl(261, 69%, 57%)
HSVhsv(261, 67%, 87%)
CMYKcmyk(44.3%, 67.4%, 0%, 13.3%)
CIE-LABlab(44.33, 53.94, -68.49)
CIE-LCHlch(44.33, 87.18, 308.22°)
OKLaboklab(54.37% 0.0862 -0.196)
OKLCHoklch(54.37% 0.214 293.8)
XYZxyz(23.5333, 14.0655, 69.8676)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48DD #AADD48
analogous
#485FDD #7B48DD #C648DD
triadic
#7B48DD #DD7B48 #48DD7B
tetradic
#7B48DD #DD485F #AADD48 #48DDC6
square
#7B48DD #DD485F #AADD48 #48DDC6
split-complementary
#7B48DD #DDC648 #5FDD48
monochromatic
#431B90 #5B24C3 #7B48DD #A07CE7 #C5AFF0

Accessibility & contrast

On white

5.51
#7B48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7B48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48DD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48DD#FFFFFF#000000##FFFFFF
##7B48DD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#5F6D8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b48dd;
/* rgb */ color: rgb(123, 72, 221);
/* oklch */ color: oklch(54.4% 0.214 293.8);
Tailwind
colors: {
  custom: {
    50: '#a97ee9',
    500: '#7b48dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b48dd;
$custom-light: #a97ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48dd",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 260.537,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.2141,
    "h": 293.8
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#7B48DD
secondary
#CADEA2
accent
#EC3CB0
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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