#7B26BD#7B26BD

#7B26BD is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.217 H 304.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7B26BD
RGBrgb(123, 38, 189)
HSLhsl(274, 67%, 45%)
HSVhsv(274, 80%, 74%)
CMYKcmyk(34.9%, 79.9%, 0%, 25.9%)
CIE-LABlab(36.50, 61.07, -62.72)
CIE-LCHlch(36.50, 87.54, 314.24°)
OKLaboklab(48.05% 0.1234 -0.1788)
OKLCHoklch(48.05% 0.217 304.6)
XYZxyz(18.0447, 9.2714, 48.9732)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B26BD #68BD26
analogous
#3026BD #7B26BD #BD26B4
triadic
#7B26BD #BD7B26 #26BD7B
tetradic
#7B26BD #BD3026 #68BD26 #26B4BD
square
#7B26BD #BD3026 #68BD26 #26B4BD
split-complementary
#7B26BD #B4BD26 #26BD30
monochromatic
#391257 #5A1C8A #7B26BD #9946DA #B579E4

Accessibility & contrast

On white

7.36
#7B26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7B26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B26BD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B26BD#FFFFFF#000000##FFFFFF
##7B26BD1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#6E4F72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b26bd;
/* rgb */ color: rgb(123, 38, 189);
/* oklch */ color: oklch(48.0% 0.217 304.6);
Tailwind
colors: {
  custom: {
    50: '#a76bd2',
    500: '#7b26bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b26bd;
$custom-light: #a76bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b26bd",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 273.775,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.21724,
    "h": 304.6
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#7B26BD
secondary
#9ACC73
accent
#E93E89
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7B26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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