#7B2BCE#7B2BCE

#7B2BCE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.9% C 0.229 H 300.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7B2BCE
RGBrgb(123, 43, 206)
HSLhsl(269, 65%, 49%)
HSVhsv(269, 79%, 81%)
CMYKcmyk(40.3%, 79.1%, 0%, 19.2%)
CIE-LABlab(38.54, 63.14, -69.31)
CIE-LCHlch(38.54, 93.76, 312.33°)
OKLaboklab(49.91% 0.1148 -0.1982)
OKLCHoklch(49.91% 0.229 300.1)
XYZxyz(20.1700, 10.3947, 59.3243)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BCE #7ECE2B
analogous
#2B2CCE #7B2BCE #CD2BCE
triadic
#7B2BCE #CE7B2B #2BCE7B
tetradic
#7B2BCE #CE2B2C #7ECE2B #2BCECD
square
#7B2BCE #CE2B2C #7ECE2B #2BCECD
split-complementary
#7B2BCE #CECD2B #2CCE2B
monochromatic
#3F1669 #5D209B #7B2BCE #9A5ADC #B98CE7

Accessibility & contrast

On white

6.82
#7B2BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7B2BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B2BCE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BCE#FFFFFF#000000##FFFFFF
##7B2BCE1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#67587D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b2bce;
/* rgb */ color: rgb(123, 43, 206);
/* oklch */ color: oklch(49.9% 0.229 300.1);
Tailwind
colors: {
  custom: {
    50: '#a96ede',
    500: '#7b2bce',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bce;
$custom-light: #a96ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bce",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 206
  },
  "hsl": {
    "h": 269.448,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.22907,
    "h": 300.1
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#7B2BCE
secondary
#ABD184
accent
#E83F95
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B2BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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