#7046B8#7046B8

#7046B8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.2% C 0.172 H 296.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7046B8
RGBrgb(112, 70, 184)
HSLhsl(262, 45%, 50%)
HSVhsv(262, 62%, 72%)
CMYKcmyk(39.1%, 62%, 0%, 27.8%)
CIE-LABlab(40.06, 42.94, -54.06)
CIE-LCHlch(40.06, 69.04, 308.46°)
OKLaboklab(50.17% 0.0773 -0.1539)
OKLCHoklch(50.17% 0.172 296.7)
XYZxyz(17.5218, 11.2854, 46.5933)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046B8 #8EB846
analogous
#4655B8 #7046B8 #A946B8
triadic
#7046B8 #B87046 #46B870
tetradic
#7046B8 #B84655 #8EB846 #46B8A9
square
#7046B8 #B84655 #8EB846 #46B8A9
split-complementary
#7046B8 #B8A946 #55B846
monochromatic
#3A245F #55358C #7046B8 #9272C9 #B49EDA

Accessibility & contrast

On white

6.45
#7046B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7046B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046B8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046B8#FFFFFF#000000##FFFFFF
##7046B81.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0A5DB6
Tritanopia (blue-blind)
#5E5F78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7046b8;
/* rgb */ color: rgb(112, 70, 184);
/* oklch */ color: oklch(50.2% 0.172 296.7);
Tailwind
colors: {
  custom: {
    50: '#9e7bce',
    500: '#7046b8',
    950: '#000000',
  },
}
SCSS
$custom: #7046b8;
$custom-light: #9e7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7046b8",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 262.105,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.17222,
    "h": 296.7
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#7046B8
secondary
#B4C793
accent
#D553A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7046B8

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

Preview Lab → · Contrast checker → · Palette generator →

#7046B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva