#7B41CC#7B41CC

#7B41CC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.203 H 298.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7B41CC
RGBrgb(123, 65, 204)
HSLhsl(265, 58%, 53%)
HSVhsv(265, 68%, 80%)
CMYKcmyk(39.7%, 68.1%, 0%, 20%)
CIE-LABlab(41.77, 53.05, -62.89)
CIE-LCHlch(41.77, 82.28, 310.15°)
OKLaboklab(52.13% 0.0958 -0.1795)
OKLCHoklch(52.13% 0.203 298.1)
XYZxyz(20.9550, 12.3509, 58.3950)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41CC #92CC41
analogous
#414CCC #7B41CC #C041CC
triadic
#7B41CC #CC7B41 #41CC7B
tetradic
#7B41CC #CC414C #92CC41 #41CCC0
square
#7B41CC #CC414C #92CC41 #41CCC0
split-complementary
#7B41CC #CCC041 #4CCC41
monochromatic
#421F74 #5E2CA4 #7B41CC #9D71D9 #BEA1E6

Accessibility & contrast

On white

6.05
#7B41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7B41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41CC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41CC#FFFFFF#000000##FFFFFF
##7B41CC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#676281
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b41cc;
/* rgb */ color: rgb(123, 65, 204);
/* oklch */ color: oklch(52.1% 0.203 298.1);
Tailwind
colors: {
  custom: {
    50: '#a77adc',
    500: '#7b41cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b41cc;
$custom-light: #a77adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41cc",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 265.036,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.20343,
    "h": 298.1
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#7B41CC
secondary
#B9D396
accent
#E147A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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