#7B2CBF#7B2CBF

#7B2CBF is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.213 H 303.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7B2CBF
RGBrgb(123, 44, 191)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(35.6%, 77%, 0%, 25.1%)
CIE-LABlab(37.43, 59.30, -62.37)
CIE-LCHlch(37.43, 86.06, 313.55°)
OKLaboklab(48.75% 0.1181 -0.1778)
OKLCHoklch(48.75% 0.213 303.6)
XYZxyz(18.4708, 9.7739, 50.1936)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2CBF #70BF2C
analogous
#312CBF #7B2CBF #BF2CB9
triadic
#7B2CBF #BF7B2C #2CBF7B
tetradic
#7B2CBF #BF312C #70BF2C #2CB9BF
square
#7B2CBF #BF312C #70BF2C #2CB9BF
split-complementary
#7B2CBF #B9BF2C #2CBF31
monochromatic
#3B155C #5B218D #7B2CBF #9951D7 #B683E2

Accessibility & contrast

On white

7.11
#7B2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7B2CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2CBF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2CBF#FFFFFF#000000##FFFFFF
##7B2CBF1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0058BC
Tritanopia (blue-blind)
#6D5275
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b2cbf;
/* rgb */ color: rgb(123, 44, 191);
/* oklch */ color: oklch(48.8% 0.213 303.6);
Tailwind
colors: {
  custom: {
    50: '#a76ed3',
    500: '#7b2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2cbf;
$custom-light: #a76ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2cbf",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 272.245,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4875,
    "c": 0.21345,
    "h": 303.6
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#7B2CBF
secondary
#A0CC7B
accent
#E6428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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