#7B48E9#7B48E9

#7B48E9 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.228 H 291.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7B48E9
RGBrgb(123, 72, 233)
HSLhsl(259, 79%, 60%)
HSVhsv(259, 69%, 91%)
CMYKcmyk(47.2%, 69.1%, 0%, 8.6%)
CIE-LABlab(45.26, 57.12, -73.78)
CIE-LCHlch(45.26, 93.31, 307.74°)
OKLaboklab(55.32% 0.0843 -0.2115)
OKLCHoklch(55.32% 0.228 291.7)
XYZxyz(25.1896, 14.7280, 78.5906)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48E9 #B6E948
analogous
#4866E9 #7B48E9 #CB48E9
triadic
#7B48E9 #E97B48 #48E97B
tetradic
#7B48E9 #E94866 #B6E948 #48E9CB
square
#7B48E9 #E94866 #B6E948 #48E9CB
split-complementary
#7B48E9 #E9CB48 #66E948
monochromatic
#4114A3 #571ADA #7B48E9 #A27FF0 #CAB5F6

Accessibility & contrast

On white

5.32
#7B48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7B48E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48E9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48E9#FFFFFF#000000##FFFFFF
##7B48E91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#587193
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b48e9;
/* rgb */ color: rgb(123, 72, 233);
/* oklch */ color: oklch(55.3% 0.228 291.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ff1',
    500: '#7b48e9',
    950: '#000000',
  },
}
SCSS
$custom: #7b48e9;
$custom-light: #aa7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48e9",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 259.006,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.22768,
    "h": 291.7
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#7B48E9
secondary
#D2E6A7
accent
#F533B7
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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