#7B26B0#7B26B0

#7B26B0 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.205 H 308.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7B26B0
RGBrgb(123, 38, 176)
HSLhsl(277, 64%, 42%)
HSVhsv(277, 78%, 69%)
CMYKcmyk(30.1%, 78.4%, 0%, 31%)
CIE-LABlab(35.46, 58.20, -56.71)
CIE-LCHlch(35.46, 81.26, 315.74°)
OKLaboklab(47% 0.1267 -0.1611)
OKLCHoklch(47% 0.205 308.2)
XYZxyz(16.6963, 8.7320, 41.8718)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26B0 #5BB026
analogous
#3626B0 #7B26B0 #B026A0
triadic
#7B26B0 #B07B26 #26B07B
tetradic
#7B26B0 #B03626 #5BB026 #26A0B0
square
#7B26B0 #B03626 #5BB026 #26A0B0
split-complementary
#7B26B0 #A0B026 #26B036
monochromatic
#35104B #581B7E #7B26B0 #9B3ED5 #B570E0

Accessibility & contrast

On white

7.65
#7B26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7B26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B26B0
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B26B0#FFFFFF#000000##FFFFFF
##7B26B01.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#72496B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b26b0;
/* rgb */ color: rgb(123, 38, 176);
/* oklch */ color: oklch(47.0% 0.205 308.2);
Tailwind
colors: {
  custom: {
    50: '#a66bc8',
    500: '#7b26b0',
    950: '#000000',
  },
}
SCSS
$custom: #7b26b0;
$custom-light: #a66bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26b0",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 276.957,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47,
    "c": 0.20497,
    "h": 308.2
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#7B26B0
secondary
#8EC76B
accent
#E74081
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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