#7B2BB4#7B2BB4

#7B2BB4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.204 H 306.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7B2BB4
RGBrgb(123, 43, 180)
HSLhsl(275, 61%, 44%)
HSVhsv(275, 76%, 71%)
CMYKcmyk(31.7%, 76.1%, 0%, 29.4%)
CIE-LABlab(36.43, 57.19, -57.51)
CIE-LCHlch(36.43, 81.11, 314.84°)
OKLaboklab(47.78% 0.1215 -0.1635)
OKLCHoklch(47.78% 0.204 306.6)
XYZxyz(17.2687, 9.2342, 44.0438)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BB4 #64B42B
analogous
#362BB4 #7B2BB4 #B42BA8
triadic
#7B2BB4 #B47B2B #2BB47B
tetradic
#7B2BB4 #B4362B #64B42B #2BA8B4
square
#7B2BB4 #B4362B #64B42B #2BA8B4
split-complementary
#7B2BB4 #A8B42B #2BB436
monochromatic
#371351 #591F83 #7B2BB4 #9A49D3 #B57ADF

Accessibility & contrast

On white

7.38
#7B2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2BB4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BB4#FFFFFF#000000##FFFFFF
##7B2BB41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#714D6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2bb4;
/* rgb */ color: rgb(123, 43, 180);
/* oklch */ color: oklch(47.8% 0.204 306.6);
Tailwind
colors: {
  custom: {
    50: '#a66dcb',
    500: '#7b2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bb4;
$custom-light: #a66dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bb4",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 275.036,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.20371,
    "h": 306.6
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#7B2BB4
secondary
#96C773
accent
#E54386
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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