#7B46D3#7B46D3

#7B46D3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.205 H 295.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7B46D3
RGBrgb(123, 70, 211)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(41.7%, 66.8%, 0%, 17.3%)
CIE-LABlab(43.20, 52.34, -64.60)
CIE-LCHlch(43.20, 83.14, 309.01°)
OKLaboklab(53.33% 0.0897 -0.1845)
OKLCHoklch(53.33% 0.205 295.9)
XYZxyz(22.1133, 13.2939, 63.0163)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46D3 #9ED346
analogous
#4658D3 #7B46D3 #C146D3
triadic
#7B46D3 #D37B46 #46D37B
tetradic
#7B46D3 #D34658 #9ED346 #46D3C1
square
#7B46D3 #D34658 #9ED346 #46D3C1
split-complementary
#7B46D3 #D3C146 #58D346
monochromatic
#431E80 #5D2AB2 #7B46D3 #9E77DF #C2A9EB

Accessibility & contrast

On white

5.74
#7B46D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7B46D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46D3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46D3#FFFFFF#000000##FFFFFF
##7B46D31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#646887
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b46d3;
/* rgb */ color: rgb(123, 70, 211);
/* oklch */ color: oklch(53.3% 0.205 295.9);
Tailwind
colors: {
  custom: {
    50: '#a87de1',
    500: '#7b46d3',
    950: '#000000',
  },
}
SCSS
$custom: #7b46d3;
$custom-light: #a87de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46d3",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 262.553,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.20514,
    "h": 295.9
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#7B46D3
secondary
#C2D89D
accent
#E543A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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