#7B2DBF#7B2DBF

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

Color values

HEX#7B2DBF
RGBrgb(123, 45, 191)
HSLhsl(272, 62%, 46%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(35.6%, 76.4%, 0%, 25.1%)
CIE-LABlab(37.57, 58.90, -62.15)
CIE-LCHlch(37.57, 85.63, 313.46°)
OKLaboklab(48.85% 0.1172 -0.1772)
OKLCHoklch(48.85% 0.212 303.5)
XYZxyz(18.5085, 9.8493, 50.2061)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2DBF #71BF2D
analogous
#322DBF #7B2DBF #BF2DBA
triadic
#7B2DBF #BF7B2D #2DBF7B
tetradic
#7B2DBF #BF322D #71BF2D #2DBABF
square
#7B2DBF #BF322D #71BF2D #2DBABF
split-complementary
#7B2DBF #BABF2D #2DBF32
monochromatic
#3B165C #5B218D #7B2DBF #9953D6 #B684E2

Accessibility & contrast

On white

7.07
#7B2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2DBF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2DBF#FFFFFF#000000##FFFFFF
##7B2DBF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2dbf;
/* rgb */ color: rgb(123, 45, 191);
/* oklch */ color: oklch(48.8% 0.212 303.5);
Tailwind
colors: {
  custom: {
    50: '#a76ed3',
    500: '#7b2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2dbf;
$custom-light: #a76ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2dbf",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 272.055,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.21244,
    "h": 303.5
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#7B2DBF
secondary
#A1CB7C
accent
#E5438E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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