#7B41C9#7B41C9

#7B41C9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.200 H 298.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7B41C9
RGBrgb(123, 65, 201)
HSLhsl(266, 56%, 52%)
HSVhsv(266, 68%, 79%)
CMYKcmyk(38.8%, 67.7%, 0%, 21.2%)
CIE-LABlab(41.55, 52.29, -61.52)
CIE-LCHlch(41.55, 80.74, 310.37°)
OKLaboklab(51.9% 0.0962 -0.1754)
OKLCHoklch(51.9% 0.2 298.7)
XYZxyz(20.5986, 12.2083, 56.5182)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41C9 #8FC941
analogous
#414BC9 #7B41C9 #BF41C9
triadic
#7B41C9 #C97B41 #41C97B
tetradic
#7B41C9 #C9414B #8FC941 #41C9BF
square
#7B41C9 #C9414B #8FC941 #41C9BF
split-complementary
#7B41C9 #C9BF41 #4BC941
monochromatic
#422070 #5E2D9F #7B41C9 #9C71D7 #BDA0E4

Accessibility & contrast

On white

6.10
#7B41C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7B41C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41C9
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41C9#FFFFFF#000000##FFFFFF
##7B41C91.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#696180
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b41c9;
/* rgb */ color: rgb(123, 65, 201);
/* oklch */ color: oklch(51.9% 0.200 298.7);
Tailwind
colors: {
  custom: {
    50: '#a77ada',
    500: '#7b41c9',
    950: '#000000',
  },
}
SCSS
$custom: #7b41c9;
$custom-light: #a77ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41c9",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 201
  },
  "hsl": {
    "h": 265.588,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.20008,
    "h": 298.7
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#7B41C9
secondary
#B7D195
accent
#DF499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41C9

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

Preview Lab → · Contrast checker → · Palette generator →

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