#7B41CE#7B41CE

#7B41CE is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.206 H 297.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7B41CE
RGBrgb(123, 65, 206)
HSLhsl(265, 59%, 53%)
HSVhsv(265, 68%, 81%)
CMYKcmyk(40.3%, 68.4%, 0%, 19.2%)
CIE-LABlab(41.92, 53.56, -63.80)
CIE-LCHlch(41.92, 83.31, 310.01°)
OKLaboklab(52.29% 0.0955 -0.1822)
OKLCHoklch(52.29% 0.206 297.7)
XYZxyz(21.1964, 12.4474, 59.6664)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41CE #94CE41
analogous
#414DCE #7B41CE #C241CE
triadic
#7B41CE #CE7B41 #41CE7B
tetradic
#7B41CE #CE414D #94CE41 #41CEC2
square
#7B41CE #CE414D #94CE41 #41CEC2
split-complementary
#7B41CE #CEC241 #4DCE41
monochromatic
#431E76 #5E2BA7 #7B41CE #9D72DB #BFA2E7

Accessibility & contrast

On white

6.02
#7B41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7B41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41CE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41CE#FFFFFF#000000##FFFFFF
##7B41CE1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b41ce;
/* rgb */ color: rgb(123, 65, 206);
/* oklch */ color: oklch(52.3% 0.206 297.7);
Tailwind
colors: {
  custom: {
    50: '#a87ade',
    500: '#7b41ce',
    950: '#000000',
  },
}
SCSS
$custom: #7b41ce;
$custom-light: #a87ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41ce",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 264.681,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52288,
    "c": 0.20566,
    "h": 297.7
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#7B41CE
secondary
#BBD497
accent
#E246A2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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