#7B2ABF#7B2ABF

#7B2ABF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.215 H 303.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7B2ABF
RGBrgb(123, 42, 191)
HSLhsl(273, 64%, 46%)
HSVhsv(273, 78%, 75%)
CMYKcmyk(35.6%, 78%, 0%, 25.1%)
CIE-LABlab(37.17, 60.06, -62.81)
CIE-LCHlch(37.17, 86.90, 313.72°)
OKLaboklab(48.56% 0.1197 -0.1791)
OKLCHoklch(48.56% 0.215 303.8)
XYZxyz(18.3981, 9.6285, 50.1693)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2ABF #6EBF2A
analogous
#302ABF #7B2ABF #BF2AB8
triadic
#7B2ABF #BF7B2A #2ABF7B
tetradic
#7B2ABF #BF302A #6EBF2A #2AB8BF
square
#7B2ABF #BF302A #6EBF2A #2AB8BF
split-complementary
#7B2ABF #B8BF2A #2ABF30
monochromatic
#3A145B #5B1F8D #7B2ABF #994ED8 #B680E3

Accessibility & contrast

On white

7.18
#7B2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7B2ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2ABF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2ABF#FFFFFF#000000##FFFFFF
##7B2ABF1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#6D5174
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b2abf;
/* rgb */ color: rgb(123, 42, 191);
/* oklch */ color: oklch(48.6% 0.215 303.8);
Tailwind
colors: {
  custom: {
    50: '#a76dd3',
    500: '#7b2abf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2abf;
$custom-light: #a76dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2abf",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 272.617,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.21542,
    "h": 303.8
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#7B2ABF
secondary
#9FCC79
accent
#E7418D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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