#7B26B7#7B26B7

#7B26B7 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.212 H 306.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7B26B7
RGBrgb(123, 38, 183)
HSLhsl(275, 66%, 43%)
HSVhsv(275, 79%, 72%)
CMYKcmyk(32.8%, 79.2%, 0%, 28.2%)
CIE-LABlab(36.02, 59.74, -59.97)
CIE-LCHlch(36.02, 84.64, 314.89°)
OKLaboklab(47.56% 0.125 -0.1707)
OKLCHoklch(47.56% 0.212 306.2)
XYZxyz(17.4068, 9.0162, 45.6139)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26B7 #62B726
analogous
#3226B7 #7B26B7 #B726AA
triadic
#7B26B7 #B77B26 #26B77B
tetradic
#7B26B7 #B73226 #62B726 #26AAB7
square
#7B26B7 #B73226 #62B726 #26AAB7
split-complementary
#7B26B7 #AAB726 #26B732
monochromatic
#371152 #591B84 #7B26B7 #9A42D8 #B575E2

Accessibility & contrast

On white

7.49
#7B26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7B26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B26B7
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B26B7#FFFFFF#000000##FFFFFF
##7B26B71.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#704C6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b26b7;
/* rgb */ color: rgb(123, 38, 183);
/* oklch */ color: oklch(47.6% 0.212 306.2);
Tailwind
colors: {
  custom: {
    50: '#a76bce',
    500: '#7b26b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b26b7;
$custom-light: #a76bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26b7",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 275.172,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47558,
    "c": 0.21157,
    "h": 306.2
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#7B26B7
secondary
#95CA6F
accent
#E93F85
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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