#7B41CB#7B41CB

#7B41CB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.202 H 298.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7B41CB
RGBrgb(123, 65, 203)
HSLhsl(265, 57%, 53%)
HSVhsv(265, 68%, 80%)
CMYKcmyk(39.4%, 68%, 0%, 20.4%)
CIE-LABlab(41.69, 52.80, -62.44)
CIE-LCHlch(41.69, 81.77, 310.22°)
OKLaboklab(52.06% 0.0959 -0.1781)
OKLCHoklch(52.06% 0.202 298.3)
XYZxyz(20.8354, 12.3030, 57.7653)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41CB #91CB41
analogous
#414CCB #7B41CB #C041CB
triadic
#7B41CB #CB7B41 #41CB7B
tetradic
#7B41CB #CB414C #91CB41 #41CBC0
square
#7B41CB #CB414C #91CB41 #41CBC0
split-complementary
#7B41CB #CBC041 #4CCB41
monochromatic
#421F72 #5E2CA2 #7B41CB #9C71D8 #BEA1E5

Accessibility & contrast

On white

6.07
#7B41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7B41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41CB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41CB#FFFFFF#000000##FFFFFF
##7B41CB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#686281
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b41cb;
/* rgb */ color: rgb(123, 65, 203);
/* oklch */ color: oklch(52.1% 0.202 298.3);
Tailwind
colors: {
  custom: {
    50: '#a77adc',
    500: '#7b41cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b41cb;
$custom-light: #a77adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41cb",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 265.217,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.20232,
    "h": 298.3
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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