#7B46D1#7B46D1

#7B46D1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.203 H 296.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7B46D1
RGBrgb(123, 70, 209)
HSLhsl(263, 60%, 55%)
HSVhsv(263, 67%, 82%)
CMYKcmyk(41.1%, 66.5%, 0%, 18%)
CIE-LABlab(43.05, 51.82, -63.69)
CIE-LCHlch(43.05, 82.10, 309.13°)
OKLaboklab(53.17% 0.0899 -0.1818)
OKLCHoklch(53.17% 0.203 296.3)
XYZxyz(21.8641, 13.1943, 61.7040)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46D1 #9CD146
analogous
#4656D1 #7B46D1 #C146D1
triadic
#7B46D1 #D17B46 #46D17B
tetradic
#7B46D1 #D14656 #9CD146 #46D1C1
square
#7B46D1 #D14656 #9CD146 #46D1C1
split-complementary
#7B46D1 #D1C146 #56D146
monochromatic
#431F7D #5D2BAE #7B46D1 #9E77DD #C1A8E9

Accessibility & contrast

On white

5.77
#7B46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7B46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46D1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46D1#FFFFFF#000000##FFFFFF
##7B46D11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#656786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b46d1;
/* rgb */ color: rgb(123, 70, 209);
/* oklch */ color: oklch(53.2% 0.203 296.3);
Tailwind
colors: {
  custom: {
    50: '#a87de0',
    500: '#7b46d1',
    950: '#000000',
  },
}
SCSS
$custom: #7b46d1;
$custom-light: #a87de0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46d1",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 262.878,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.20286,
    "h": 296.3
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#7B46D1
secondary
#C0D79C
accent
#E344A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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