#7B48CF#7B48CF

#7B48CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.198 H 296.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7B48CF
RGBrgb(123, 72, 207)
HSLhsl(263, 58%, 55%)
HSVhsv(263, 65%, 81%)
CMYKcmyk(40.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(43.29, 50.26, -62.16)
CIE-LCHlch(43.29, 79.94, 308.96°)
OKLaboklab(53.29% 0.0881 -0.1773)
OKLCHoklch(53.29% 0.198 296.4)
XYZxyz(21.7453, 13.3503, 60.4506)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48CF #9CCF48
analogous
#4858CF #7B48CF #BF48CF
triadic
#7B48CF #CF7B48 #48CF7B
tetradic
#7B48CF #CF4858 #9CCF48 #48CFBF
square
#7B48CF #CF4858 #9CCF48 #48CFBF
split-complementary
#7B48CF #CFBF48 #58CF48
monochromatic
#43217C #5D2DAD #7B48CF #9E78DC #C1A9E8

Accessibility & contrast

On white

5.72
#7B48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7B48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48CF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48CF#FFFFFF#000000##FFFFFF
##7B48CF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b48cf;
/* rgb */ color: rgb(123, 72, 207);
/* oklch */ color: oklch(53.3% 0.198 296.4);
Tailwind
colors: {
  custom: {
    50: '#a77edf',
    500: '#7b48cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b48cf;
$custom-light: #a77edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48cf",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 262.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.19801,
    "h": 296.4
  },
  "luminance": 0.13351
}

Semantic roles & 50–950 ramp

primary
#7B48CF
secondary
#C0D69D
accent
#E246A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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