#7048BB#7048BB

#7048BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.173 H 295.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7048BB
RGBrgb(112, 72, 187)
HSLhsl(261, 46%, 51%)
HSVhsv(261, 61%, 73%)
CMYKcmyk(40.1%, 61.5%, 0%, 26.7%)
CIE-LABlab(40.68, 42.64, -54.81)
CIE-LCHlch(40.68, 69.44, 307.88°)
OKLaboklab(50.69% 0.0748 -0.1561)
OKLCHoklch(50.69% 0.173 295.6)
XYZxyz(17.9667, 11.6670, 48.3094)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048BB #93BB48
analogous
#4859BB #7048BB #AA48BB
triadic
#7048BB #BB7048 #48BB70
tetradic
#7048BB #BB4859 #93BB48 #48BBAA
square
#7048BB #BB4859 #93BB48 #48BBAA
split-complementary
#7048BB #BBAA48 #59BB48
monochromatic
#3B2564 #553690 #7048BB #9375CC #B6A1DC

Accessibility & contrast

On white

6.30
#7048BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7048BB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048BB#FFFFFF#000000##FFFFFF
##7048BB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#075EB9
Tritanopia (blue-blind)
#5D627B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7048bb;
/* rgb */ color: rgb(112, 72, 187);
/* oklch */ color: oklch(50.7% 0.173 295.6);
Tailwind
colors: {
  custom: {
    50: '#9e7dd0',
    500: '#7048bb',
    950: '#000000',
  },
}
SCSS
$custom: #7048bb;
$custom-light: #9e7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7048bb",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 260.87,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.1731,
    "h": 295.6
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#7048BB
secondary
#B7C996
accent
#D552A8
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7048BB

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

Preview Lab → · Contrast checker → · Palette generator →

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