#7B46DB#7B46DB

#7B46DB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.214 H 294.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7B46DB
RGBrgb(123, 70, 219)
HSLhsl(261, 67%, 57%)
HSVhsv(261, 68%, 86%)
CMYKcmyk(43.8%, 68%, 0%, 14.1%)
CIE-LABlab(43.81, 54.43, -68.20)
CIE-LCHlch(43.81, 87.25, 308.59°)
OKLaboklab(53.95% 0.0885 -0.1951)
OKLCHoklch(53.95% 0.214 294.4)
XYZxyz(23.1413, 13.7051, 68.4302)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46DB #A6DB46
analogous
#465CDB #7B46DB #C546DB
triadic
#7B46DB #DB7B46 #46DB7B
tetradic
#7B46DB #DB465C #A6DB46 #46DBC5
square
#7B46DB #DB465C #A6DB46 #46DBC5
split-complementary
#7B46DB #DBC546 #5CDB46
monochromatic
#431B8B #5C25BF #7B46DB #A079E5 #C4ACEF

Accessibility & contrast

On white

5.61
#7B46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7B46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46DB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46DB#FFFFFF#000000##FFFFFF
##7B46DB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#606B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b46db;
/* rgb */ color: rgb(123, 70, 219);
/* oklch */ color: oklch(53.9% 0.214 294.4);
Tailwind
colors: {
  custom: {
    50: '#a97de7',
    500: '#7b46db',
    950: '#000000',
  },
}
SCSS
$custom: #7b46db;
$custom-light: #a97de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46db",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 261.342,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.21423,
    "h": 294.4
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#7B46DB
secondary
#C7DDA0
accent
#EA3DAD
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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