#7046B2#7046B2

#7046B2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.165 H 298.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7046B2
RGBrgb(112, 70, 178)
HSLhsl(263, 44%, 49%)
HSVhsv(263, 61%, 70%)
CMYKcmyk(37.1%, 60.7%, 0%, 30.2%)
CIE-LABlab(39.65, 41.34, -51.19)
CIE-LCHlch(39.65, 65.80, 308.92°)
OKLaboklab(49.74% 0.0776 -0.1455)
OKLCHoklch(49.74% 0.165 298.1)
XYZxyz(16.9061, 11.0392, 43.3509)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046B2 #88B246
analogous
#4652B2 #7046B2 #A646B2
triadic
#7046B2 #B27046 #46B270
tetradic
#7046B2 #B24652 #88B246 #46B2A6
square
#7046B2 #B24652 #88B246 #46B2A6
split-complementary
#7046B2 #B2A646 #52B246
monochromatic
#39235A #543586 #7046B2 #916FC6 #B29BD8

Accessibility & contrast

On white

6.55
#7046B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7046B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046B2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046B2#FFFFFF#000000##FFFFFF
##7046B21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#1B5CB0
Tritanopia (blue-blind)
#615D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7046b2;
/* rgb */ color: rgb(112, 70, 178);
/* oklch */ color: oklch(49.7% 0.165 298.1);
Tailwind
colors: {
  custom: {
    50: '#9d7bca',
    500: '#7046b2',
    950: '#000000',
  },
}
SCSS
$custom: #7046b2;
$custom-light: #9d7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7046b2",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 263.333,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.16486,
    "h": 298.1
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#7046B2
secondary
#B0C490
accent
#D355A2
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7046B2

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

Preview Lab → · Contrast checker → · Palette generator →

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