#7B2BB3#7B2BB3

#7B2BB3 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.203 H 306.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7B2BB3
RGBrgb(123, 43, 179)
HSLhsl(275, 61%, 44%)
HSVhsv(275, 76%, 70%)
CMYKcmyk(31.3%, 76%, 0%, 29.8%)
CIE-LABlab(36.35, 56.97, -57.05)
CIE-LCHlch(36.35, 80.62, 314.96°)
OKLaboklab(47.7% 0.1217 -0.1622)
OKLCHoklch(47.7% 0.203 306.9)
XYZxyz(17.1672, 9.1936, 43.5092)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BB3 #63B32B
analogous
#372BB3 #7B2BB3 #B32BA7
triadic
#7B2BB3 #B37B2B #2BB37B
tetradic
#7B2BB3 #B3372B #63B32B #2BA7B3
square
#7B2BB3 #B3372B #63B32B #2BA7B3
split-complementary
#7B2BB3 #A7B32B #2BB337
monochromatic
#371350 #591F82 #7B2BB3 #9A48D3 #B579DF

Accessibility & contrast

On white

7.40
#7B2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7B2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BB3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BB3#FFFFFF#000000##FFFFFF
##7B2BB31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#714D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2bb3;
/* rgb */ color: rgb(123, 43, 179);
/* oklch */ color: oklch(47.7% 0.203 306.9);
Tailwind
colors: {
  custom: {
    50: '#a66dcb',
    500: '#7b2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bb3;
$custom-light: #a66dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bb3",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 275.294,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.20274,
    "h": 306.9
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#7B2BB3
secondary
#95C773
accent
#E44386
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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