#7B41CD#7B41CD

#7B41CD is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.205 H 297.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7B41CD
RGBrgb(123, 65, 205)
HSLhsl(265, 58%, 53%)
HSVhsv(265, 68%, 80%)
CMYKcmyk(40%, 68.3%, 0%, 19.6%)
CIE-LABlab(41.84, 53.31, -63.35)
CIE-LCHlch(41.84, 82.79, 310.08°)
OKLaboklab(52.21% 0.0956 -0.1808)
OKLCHoklch(52.21% 0.205 297.9)
XYZxyz(21.0753, 12.3990, 59.0286)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41CD #93CD41
analogous
#414DCD #7B41CD #C141CD
triadic
#7B41CD #CD7B41 #41CD7B
tetradic
#7B41CD #CD414D #93CD41 #41CDC1
square
#7B41CD #CD414D #93CD41 #41CDC1
split-complementary
#7B41CD #CDC141 #4DCD41
monochromatic
#421F75 #5E2CA5 #7B41CD #9D71DA #BEA2E6

Accessibility & contrast

On white

6.03
#7B41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7B41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41CD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41CD#FFFFFF#000000##FFFFFF
##7B41CD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#676382
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b41cd;
/* rgb */ color: rgb(123, 65, 205);
/* oklch */ color: oklch(52.2% 0.205 297.9);
Tailwind
colors: {
  custom: {
    50: '#a77add',
    500: '#7b41cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b41cd;
$custom-light: #a77add;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41cd",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 264.857,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.20455,
    "h": 297.9
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#7B41CD
secondary
#BAD397
accent
#E246A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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