#7046C3#7046C3

#7046C3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.186 H 294.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7046C3
RGBrgb(112, 70, 195)
HSLhsl(260, 51%, 52%)
HSVhsv(260, 64%, 76%)
CMYKcmyk(42.6%, 64.1%, 0%, 23.5%)
CIE-LABlab(40.84, 45.91, -59.23)
CIE-LCHlch(40.84, 74.94, 307.78°)
OKLaboklab(50.98% 0.0764 -0.1691)
OKLCHoklch(50.98% 0.186 294.3)
XYZxyz(18.7199, 11.7647, 52.9037)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046C3 #99C346
analogous
#465BC3 #7046C3 #AF46C3
triadic
#7046C3 #C37046 #46C370
tetradic
#7046C3 #C3465B #99C346 #46C3AF
square
#7046C3 #C3465B #99C346 #46C3AF
split-complementary
#7046C3 #C3AF46 #5BC346
monochromatic
#3B236C #55329A #7046C3 #9474D2 #B7A2E1

Accessibility & contrast

On white

6.26
#7046C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7046C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046C3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046C3#FFFFFF#000000##FFFFFF
##7046C31.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#5A637E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7046c3;
/* rgb */ color: rgb(112, 70, 195);
/* oklch */ color: oklch(51.0% 0.186 294.3);
Tailwind
colors: {
  custom: {
    50: '#9f7cd6',
    500: '#7046c3',
    950: '#000000',
  },
}
SCSS
$custom: #7046c3;
$custom-light: #9f7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7046c3",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 195
  },
  "hsl": {
    "h": 260.16,
    "s": 51.02,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.18557,
    "h": 294.3
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#7046C3
secondary
#BBCE97
accent
#DA4DAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7046C3

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

Preview Lab → · Contrast checker → · Palette generator →

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