#7048BC#7048BC

#7048BC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.174 H 295.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7048BC
RGBrgb(112, 72, 188)
HSLhsl(261, 46%, 51%)
HSVhsv(261, 62%, 74%)
CMYKcmyk(40.4%, 61.7%, 0%, 26.3%)
CIE-LABlab(40.75, 42.91, -55.29)
CIE-LCHlch(40.75, 69.98, 307.81°)
OKLaboklab(50.76% 0.0747 -0.1575)
OKLCHoklch(50.76% 0.174 295.4)
XYZxyz(18.0742, 11.7099, 48.8752)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048BC #94BC48
analogous
#485ABC #7048BC #AA48BC
triadic
#7048BC #BC7048 #48BC70
tetradic
#7048BC #BC485A #94BC48 #48BCAA
square
#7048BC #BC485A #94BC48 #48BCAA
split-complementary
#7048BC #BCAA48 #5ABC48
monochromatic
#3B2565 #553592 #7048BC #9375CC #B6A2DD

Accessibility & contrast

On white

6.28
#7048BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7048BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048BC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048BC#FFFFFF#000000##FFFFFF
##7048BC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#025EBA
Tritanopia (blue-blind)
#5D627B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7048bc;
/* rgb */ color: rgb(112, 72, 188);
/* oklch */ color: oklch(50.8% 0.174 295.4);
Tailwind
colors: {
  custom: {
    50: '#9e7dd1',
    500: '#7048bc',
    950: '#000000',
  },
}
SCSS
$custom: #7048bc;
$custom-light: #9e7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7048bc",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 260.69,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.17434,
    "h": 295.4
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#7048BC
secondary
#B8CA96
accent
#D652A8
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7048BC

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

Preview Lab → · Contrast checker → · Palette generator →

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