#7B2BB5#7B2BB5

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

Color values

HEX#7B2BB5
RGBrgb(123, 43, 181)
HSLhsl(275, 62%, 44%)
HSVhsv(275, 76%, 71%)
CMYKcmyk(32%, 76.2%, 0%, 29%)
CIE-LABlab(36.51, 57.42, -57.98)
CIE-LCHlch(36.51, 81.60, 314.72°)
OKLaboklab(47.86% 0.1212 -0.1649)
OKLCHoklch(47.86% 0.205 306.3)
XYZxyz(17.3709, 9.2751, 44.5823)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BB5 #65B52B
analogous
#362BB5 #7B2BB5 #B52BAA
triadic
#7B2BB5 #B57B2B #2BB57B
tetradic
#7B2BB5 #B5362B #65B52B #2BAAB5
square
#7B2BB5 #B5362B #65B52B #2BAAB5
split-complementary
#7B2BB5 #AAB52B #2BB536
monochromatic
#381452 #591F84 #7B2BB5 #9A49D4 #B57BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2BB5#FFFFFF#000000##FFFFFF
##7B2BB51.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)
#0053B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#714D6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2bb5;
/* rgb */ color: rgb(123, 43, 181);
/* oklch */ color: oklch(47.9% 0.205 306.3);
Tailwind
colors: {
  custom: {
    50: '#a76dcc',
    500: '#7b2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bb5;
$custom-light: #a76dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bb5",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 274.783,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.20469,
    "h": 306.3
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#7B2BB5
secondary
#97C874
accent
#E54387
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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