#7B46D0#7B46D0

#7B46D0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.202 H 296.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7B46D0
RGBrgb(123, 70, 208)
HSLhsl(263, 59%, 55%)
HSVhsv(263, 66%, 82%)
CMYKcmyk(40.9%, 66.3%, 0%, 18.4%)
CIE-LABlab(42.98, 51.56, -63.23)
CIE-LCHlch(42.98, 81.59, 309.19°)
OKLaboklab(53.1% 0.0901 -0.1805)
OKLCHoklch(53.1% 0.202 296.5)
XYZxyz(21.7407, 13.1449, 61.0541)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46D0 #9BD046
analogous
#4656D0 #7B46D0 #C046D0
triadic
#7B46D0 #D07B46 #46D07B
tetradic
#7B46D0 #D04656 #9BD046 #46D0C0
square
#7B46D0 #D04656 #9BD046 #46D0C0
split-complementary
#7B46D0 #D0C046 #56D046
monochromatic
#43207C #5D2CAD #7B46D0 #9E77DC #C1A8E9

Accessibility & contrast

On white

5.79
#7B46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7B46D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46D0
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46D0#FFFFFF#000000##FFFFFF
##7B46D01.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#656785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b46d0;
/* rgb */ color: rgb(123, 70, 208);
/* oklch */ color: oklch(53.1% 0.202 296.5);
Tailwind
colors: {
  custom: {
    50: '#a77ddf',
    500: '#7b46d0',
    950: '#000000',
  },
}
SCSS
$custom: #7b46d0;
$custom-light: #a77ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46d0",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 263.043,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53096,
    "c": 0.20172,
    "h": 296.5
  },
  "luminance": 0.13145
}

Semantic roles & 50–950 ramp

primary
#7B46D0
secondary
#C0D69C
accent
#E345A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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