#7046BE#7046BE

#7046BE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.180 H 295.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7046BE
RGBrgb(112, 70, 190)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 63%, 75%)
CMYKcmyk(41.1%, 63.2%, 0%, 25.5%)
CIE-LABlab(40.48, 44.56, -56.90)
CIE-LCHlch(40.48, 72.27, 308.06°)
OKLaboklab(50.61% 0.0769 -0.1622)
OKLCHoklch(50.61% 0.18 295.4)
XYZxyz(18.1641, 11.5424, 49.9761)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046BE #94BE46
analogous
#4658BE #7046BE #AC46BE
triadic
#7046BE #BE7046 #46BE70
tetradic
#7046BE #BE4658 #94BE46 #46BEAC
square
#7046BE #BE4658 #94BE46 #46BEAC
split-complementary
#7046BE #BEAC46 #58BE46
monochromatic
#3B2466 #553493 #7046BE #9373CE #B6A1DE

Accessibility & contrast

On white

6.35
#7046BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7046BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046BE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046BE#FFFFFF#000000##FFFFFF
##7046BE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#5C617B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7046be;
/* rgb */ color: rgb(112, 70, 190);
/* oklch */ color: oklch(50.6% 0.180 295.4);
Tailwind
colors: {
  custom: {
    50: '#9f7cd2',
    500: '#7046be',
    950: '#000000',
  },
}
SCSS
$custom: #7046be;
$custom-light: #9f7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7046be",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 261,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.17953,
    "h": 295.4
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#7046BE
secondary
#B8CA95
accent
#D850A8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7046BE

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

Preview Lab → · Contrast checker → · Palette generator →

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