#7B41D2#7B41D2

#7B41D2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.210 H 296.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7B41D2
RGBrgb(123, 65, 210)
HSLhsl(264, 62%, 54%)
HSVhsv(264, 69%, 82%)
CMYKcmyk(41.4%, 69%, 0%, 17.6%)
CIE-LABlab(42.22, 54.58, -65.62)
CIE-LCHlch(42.22, 85.35, 309.75°)
OKLaboklab(52.6% 0.0948 -0.1875)
OKLCHoklch(52.6% 0.21 296.8)
XYZxyz(21.6885, 12.6443, 62.2582)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41D2 #98D241
analogous
#4150D2 #7B41D2 #C441D2
triadic
#7B41D2 #D27B41 #41D27B
tetradic
#7B41D2 #D24150 #98D241 #41D2C4
square
#7B41D2 #D24150 #98D241 #41D2C4
split-complementary
#7B41D2 #D2C441 #50D241
monochromatic
#431D7B #5E29AD #7B41D2 #9D72DE #C0A4E9

Accessibility & contrast

On white

5.95
#7B41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7B41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41D2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41D2#FFFFFF#000000##FFFFFF
##7B41D21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#656585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b41d2;
/* rgb */ color: rgb(123, 65, 210);
/* oklch */ color: oklch(52.6% 0.210 296.8);
Tailwind
colors: {
  custom: {
    50: '#a87ae1',
    500: '#7b41d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b41d2;
$custom-light: #a87ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41d2",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 264,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.526,
    "c": 0.2101,
    "h": 296.8
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#7B41D2
secondary
#BED698
accent
#E543A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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