#7B46AF#7B46AF

#7B46AF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.163 H 304.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7B46AF
RGBrgb(123, 70, 175)
HSLhsl(270, 43%, 48%)
HSVhsv(270, 60%, 69%)
CMYKcmyk(29.7%, 60%, 0%, 31.4%)
CIE-LABlab(40.71, 43.18, -47.63)
CIE-LCHlch(40.71, 64.29, 312.19°)
OKLaboklab(50.74% 0.0925 -0.1347)
OKLCHoklch(50.74% 0.163 304.5)
XYZxyz(18.0947, 11.6865, 41.8516)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46AF #7AAF46
analogous
#4746AF #7B46AF #AF46AE
triadic
#7B46AF #AF7B46 #46AF7B
tetradic
#7B46AF #AF4746 #7AAF46 #46AEAF
square
#7B46AF #AF4746 #7AAF46 #46AEAF
split-complementary
#7B46AF #AEAF46 #46AF47
monochromatic
#3E2358 #5C3583 #7B46AF #9A6DC5 #B899D6

Accessibility & contrast

On white

6.29
#7B46AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7B46AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46AF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46AF#FFFFFF#000000##FFFFFF
##7B46AF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#2E60AD
Tritanopia (blue-blind)
#725B74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7b46af;
/* rgb */ color: rgb(123, 70, 175);
/* oklch */ color: oklch(50.7% 0.163 304.5);
Tailwind
colors: {
  custom: {
    50: '#a57cc7',
    500: '#7b46af',
    950: '#000000',
  },
}
SCSS
$custom: #7b46af;
$custom-light: #a57cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46af",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 270.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.16336,
    "h": 304.5
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#7B46AF
secondary
#A8C28E
accent
#D35593
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7B46AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7B46AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva