#7046BC#7046BC

#7046BC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.177 H 295.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7046BC
RGBrgb(112, 70, 188)
HSLhsl(261, 47%, 51%)
HSVhsv(261, 63%, 74%)
CMYKcmyk(40.4%, 62.8%, 0%, 26.3%)
CIE-LABlab(40.34, 44.02, -55.96)
CIE-LCHlch(40.34, 71.19, 308.19°)
OKLaboklab(50.46% 0.077 -0.1595)
OKLCHoklch(50.46% 0.177 295.8)
XYZxyz(17.9470, 11.4555, 48.8328)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046BC #92BC46
analogous
#4657BC #7046BC #AB46BC
triadic
#7046BC #BC7046 #46BC70
tetradic
#7046BC #BC4657 #92BC46 #46BCAB
square
#7046BC #BC4657 #92BC46 #46BCAB
split-complementary
#7046BC #BCAB46 #57BC46
monochromatic
#3B2464 #553490 #7046BC #9373CC #B5A0DD

Accessibility & contrast

On white

6.38
#7046BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7046BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046BC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046BC#FFFFFF#000000##FFFFFF
##7046BC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#5D617A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7046bc;
/* rgb */ color: rgb(112, 70, 188);
/* oklch */ color: oklch(50.5% 0.177 295.8);
Tailwind
colors: {
  custom: {
    50: '#9e7cd1',
    500: '#7046bc',
    950: '#000000',
  },
}
SCSS
$custom: #7046bc;
$custom-light: #9e7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7046bc",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 261.356,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.1771,
    "h": 295.8
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#7046BC
secondary
#B6C995
accent
#D651A7
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7046BC

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

Preview Lab → · Contrast checker → · Palette generator →

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