#7B48CE#7B48CE

#7B48CE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.197 H 296.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7B48CE
RGBrgb(123, 72, 206)
HSLhsl(263, 58%, 55%)
HSVhsv(263, 65%, 81%)
CMYKcmyk(40.3%, 65%, 0%, 19.2%)
CIE-LABlab(43.21, 50.00, -61.70)
CIE-LCHlch(43.21, 79.42, 309.02°)
OKLaboklab(53.22% 0.0882 -0.176)
OKLCHoklch(53.22% 0.197 296.6)
XYZxyz(21.6234, 13.3015, 59.8087)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48CE #9BCE48
analogous
#4858CE #7B48CE #BE48CE
triadic
#7B48CE #CE7B48 #48CE7B
tetradic
#7B48CE #CE4858 #9BCE48 #48CEBE
square
#7B48CE #CE4858 #9BCE48 #48CEBE
split-complementary
#7B48CE #CEBE48 #58CE48
monochromatic
#43217B #5D2EAB #7B48CE #9E78DB #C1A9E8

Accessibility & contrast

On white

5.74
#7B48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7B48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48CE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48CE#FFFFFF#000000##FFFFFF
##7B48CE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#666785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b48ce;
/* rgb */ color: rgb(123, 72, 206);
/* oklch */ color: oklch(53.2% 0.197 296.6);
Tailwind
colors: {
  custom: {
    50: '#a77ede',
    500: '#7b48ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b48ce;
$custom-light: #a77ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48ce",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 262.836,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.19685,
    "h": 296.6
  },
  "luminance": 0.13302
}

Semantic roles & 50–950 ramp

primary
#7B48CE
secondary
#C0D59D
accent
#E147A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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