#7B41D0#7B41D0

#7B41D0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.208 H 297.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7B41D0
RGBrgb(123, 65, 208)
HSLhsl(264, 60%, 54%)
HSVhsv(264, 69%, 82%)
CMYKcmyk(40.9%, 68.8%, 0%, 18.4%)
CIE-LABlab(42.07, 54.07, -64.71)
CIE-LCHlch(42.07, 84.33, 309.88°)
OKLaboklab(52.44% 0.0952 -0.1848)
OKLCHoklch(52.44% 0.208 297.2)
XYZxyz(21.4409, 12.5452, 60.9541)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B41D0 #96D041
analogous
#414ED0 #7B41D0 #C341D0
triadic
#7B41D0 #D07B41 #41D07B
tetradic
#7B41D0 #D0414E #96D041 #41D0C3
square
#7B41D0 #D0414E #96D041 #41D0C3
split-complementary
#7B41D0 #D0C341 #4ED041
monochromatic
#431E79 #5E2AAA #7B41D0 #9D72DC #BFA3E8

Accessibility & contrast

On white

5.98
#7B41D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7B41D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B41D0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B41D0#FFFFFF#000000##FFFFFF
##7B41D01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#666484
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b41d0;
/* rgb */ color: rgb(123, 65, 208);
/* oklch */ color: oklch(52.4% 0.208 297.2);
Tailwind
colors: {
  custom: {
    50: '#a87adf',
    500: '#7b41d0',
    950: '#000000',
  },
}
SCSS
$custom: #7b41d0;
$custom-light: #a87adf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b41d0",
  "rgb": {
    "r": 123,
    "g": 65,
    "b": 208
  },
  "hsl": {
    "h": 264.336,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.20788,
    "h": 297.2
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#7B41D0
secondary
#BCD598
accent
#E344A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B41D0

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

Preview Lab → · Contrast checker → · Palette generator →

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