#7046AF#7046AF

#7046AF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.161 H 298.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7046AF
RGBrgb(112, 70, 175)
HSLhsl(264, 43%, 48%)
HSVhsv(264, 60%, 69%)
CMYKcmyk(36%, 60%, 0%, 31.4%)
CIE-LABlab(39.45, 40.54, -49.74)
CIE-LCHlch(39.45, 64.17, 309.18°)
OKLaboklab(49.52% 0.0777 -0.1412)
OKLCHoklch(49.52% 0.161 298.8)
XYZxyz(16.6082, 10.9200, 41.7819)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046AF #85AF46
analogous
#4650AF #7046AF #A446AF
triadic
#7046AF #AF7046 #46AF70
tetradic
#7046AF #AF4650 #85AF46 #46AFA4
square
#7046AF #AF4650 #85AF46 #46AFA4
split-complementary
#7046AF #AFA446 #50AF46
monochromatic
#382358 #543583 #7046AF #906DC5 #B299D6

Accessibility & contrast

On white

6.60
#7046AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7046AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046AF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046AF#FFFFFF#000000##FFFFFF
##7046AF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB2
Deuteranopia (green-blind)
#205CAD
Tritanopia (blue-blind)
#625C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7046af;
/* rgb */ color: rgb(112, 70, 175);
/* oklch */ color: oklch(49.5% 0.161 298.8);
Tailwind
colors: {
  custom: {
    50: '#9d7bc7',
    500: '#7046af',
    950: '#000000',
  },
}
SCSS
$custom: #7046af;
$custom-light: #9d7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7046af",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 264,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.16115,
    "h": 298.8
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#7046AF
secondary
#AEC28E
accent
#D355A0
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7046AF

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

Preview Lab → · Contrast checker → · Palette generator →

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