#7B46DD#7B46DD

#7B46DD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.216 H 294.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7B46DD
RGBrgb(123, 70, 221)
HSLhsl(261, 69%, 57%)
HSVhsv(261, 68%, 87%)
CMYKcmyk(44.3%, 68.3%, 0%, 13.3%)
CIE-LABlab(43.96, 54.95, -69.09)
CIE-LCHlch(43.96, 88.28, 308.50°)
OKLaboklab(54.11% 0.0882 -0.1977)
OKLCHoklch(54.11% 0.216 294)
XYZxyz(23.4061, 13.8111, 69.8252)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B46DD #A8DD46
analogous
#465CDD #7B46DD #C746DD
triadic
#7B46DD #DD7B46 #46DD7B
tetradic
#7B46DD #DD465C #A8DD46 #46DDC7
square
#7B46DD #DD465C #A8DD46 #46DDC7
split-complementary
#7B46DD #DDC746 #5CDD46
monochromatic
#431A8E #5B24C2 #7B46DD #A07AE7 #C5ADF0

Accessibility & contrast

On white

5.58
#7B46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7B46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B46DD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B46DD#FFFFFF#000000##FFFFFF
##7B46DD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#5F6B8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b46dd;
/* rgb */ color: rgb(123, 70, 221);
/* oklch */ color: oklch(54.1% 0.216 294.0);
Tailwind
colors: {
  custom: {
    50: '#a97de9',
    500: '#7b46dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b46dd;
$custom-light: #a97de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b46dd",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 261.06,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.21648,
    "h": 294
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#7B46DD
secondary
#C9DEA1
accent
#EC3CAE
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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