#7B41CA#7B41CA

#7B41CA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.0% C 0.201 H 298.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7B41CA
RGBrgb(123, 65, 202)
HSLhsl(265, 56%, 52%)
HSVhsv(265, 68%, 79%)
CMYKcmyk(39.1%, 67.8%, 0%, 20.8%)
CIE-LABlab(41.62, 52.55, -61.98)
CIE-LCHlch(41.62, 81.25, 310.29°)
OKLaboklab(51.98% 0.0961 -0.1768)
OKLCHoklch(51.98% 0.201 298.5)
XYZxyz(20.7166, 12.2555, 57.1398)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41CA #90CA41
analogous
#414CCA #7B41CA #BF41CA
triadic
#7B41CA #CA7B41 #41CA7B
tetradic
#7B41CA #CA414C #90CA41 #41CABF
square
#7B41CA #CA414C #90CA41 #41CABF
split-complementary
#7B41CA #CABF41 #4CCA41
monochromatic
#422071 #5E2DA1 #7B41CA #9C71D7 #BDA1E5

Accessibility & contrast

On white

6.08
#7B41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7B41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41CA#FFFFFF#000000##FFFFFF
##7B41CA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#686280
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b41ca;
/* rgb */ color: rgb(123, 65, 202);
/* oklch */ color: oklch(52.0% 0.201 298.5);
Tailwind
colors: {
  custom: {
    50: '#a77adb',
    500: '#7b41ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b41ca;
$custom-light: #a77adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41ca",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 265.401,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.2012,
    "h": 298.5
  },
  "luminance": 0.12256
}

Semantic roles & 50–950 ramp

primary
#7B41CA
secondary
#B8D196
accent
#E048A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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