#7B41DD#7B41DD

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

Color values

HEX#7B41DD
RGBrgb(123, 65, 221)
HSLhsl(262, 70%, 56%)
HSVhsv(262, 71%, 87%)
CMYKcmyk(44.3%, 70.6%, 0%, 13.3%)
CIE-LABlab(43.08, 57.40, -70.53)
CIE-LCHlch(43.08, 90.93, 309.14°)
OKLaboklab(53.48% 0.0928 -0.2019)
OKLCHoklch(53.48% 0.222 294.7)
XYZxyz(23.1063, 13.2114, 69.7252)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41DD #A3DD41
analogous
#4155DD #7B41DD #C941DD
triadic
#7B41DD #DD7B41 #41DD7B
tetradic
#7B41DD #DD4155 #A3DD41 #41DDC9
square
#7B41DD #DD4155 #A3DD41 #41DDC9
split-complementary
#7B41DD #DDC941 #55DD41
monochromatic
#43198B #5C22BF #7B41DD #9F75E6 #C3A9F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B41DD#FFFFFF#000000##FFFFFF
##7B41DD1.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)
#0067E2
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#5F698B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b41dd;
/* rgb */ color: rgb(123, 65, 221);
/* oklch */ color: oklch(53.5% 0.222 294.7);
Tailwind
colors: {
  custom: {
    50: '#a97ae9',
    500: '#7b41dd',
    950: '#000000',
  },
}
SCSS
$custom: #7b41dd;
$custom-light: #a97ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41dd",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 262.308,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.22224,
    "h": 294.7
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#7B41DD
secondary
#C5DD9D
accent
#EC3BAB
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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