#7048BF#7048BF

#7048BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.178 H 294.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7048BF
RGBrgb(112, 72, 191)
HSLhsl(260, 48%, 52%)
HSVhsv(260, 62%, 75%)
CMYKcmyk(41.4%, 62.3%, 0%, 25.1%)
CIE-LABlab(40.96, 43.72, -56.70)
CIE-LCHlch(40.96, 71.60, 307.64°)
OKLaboklab(50.98% 0.0745 -0.1617)
OKLCHoklch(50.98% 0.178 294.8)
XYZxyz(18.4009, 11.8406, 50.5961)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048BF #97BF48
analogous
#485CBF #7048BF #AC48BF
triadic
#7048BF #BF7048 #48BF70
tetradic
#7048BF #BF485C #97BF48 #48BFAC
square
#7048BF #BF485C #97BF48 #48BFAC
split-complementary
#7048BF #BFAC48 #5CBF48
monochromatic
#3B2468 #553496 #7048BF #9375CF #B7A3DF

Accessibility & contrast

On white

6.23
#7048BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7048BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048BF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048BF#FFFFFF#000000##FFFFFF
##7048BF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#5B637D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7048bf;
/* rgb */ color: rgb(112, 72, 191);
/* oklch */ color: oklch(51.0% 0.178 294.8);
Tailwind
colors: {
  custom: {
    50: '#9f7dd3',
    500: '#7048bf',
    950: '#000000',
  },
}
SCSS
$custom: #7048bf;
$custom-light: #9f7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7048bf",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 260.168,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.17801,
    "h": 294.8
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#7048BF
secondary
#BACC97
accent
#D850AA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7048BF

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

Preview Lab → · Contrast checker → · Palette generator →

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