#7048BA#7048BA

#7048BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.6% C 0.172 H 295.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7048BA
RGBrgb(112, 72, 186)
HSLhsl(261, 45%, 51%)
HSVhsv(261, 61%, 73%)
CMYKcmyk(39.8%, 61.3%, 0%, 27.1%)
CIE-LABlab(40.61, 42.37, -54.34)
CIE-LCHlch(40.61, 68.90, 307.94°)
OKLaboklab(50.61% 0.0748 -0.1547)
OKLCHoklch(50.61% 0.172 295.8)
XYZxyz(17.8601, 11.6243, 47.7476)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048BA #92BA48
analogous
#4859BA #7048BA #A948BA
triadic
#7048BA #BA7048 #48BA70
tetradic
#7048BA #BA4859 #92BA48 #48BAA9
square
#7048BA #BA4859 #92BA48 #48BAA9
split-complementary
#7048BA #BAA948 #59BA48
monochromatic
#3B2562 #55368F #7048BA #9374CB #B5A1DC

Accessibility & contrast

On white

6.32
#7048BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7048BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048BA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048BA#FFFFFF#000000##FFFFFF
##7048BA1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0B5EB8
Tritanopia (blue-blind)
#5D617A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7048ba;
/* rgb */ color: rgb(112, 72, 186);
/* oklch */ color: oklch(50.6% 0.172 295.8);
Tailwind
colors: {
  custom: {
    50: '#9e7dcf',
    500: '#7048ba',
    950: '#000000',
  },
}
SCSS
$custom: #7048ba;
$custom-light: #9e7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7048ba",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 261.053,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.17187,
    "h": 295.8
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#7048BA
secondary
#B6C896
accent
#D553A7
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7048BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7048BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva