#7B2FB0#7B2FB0

#7B2FB0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.195 H 307.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7B2FB0
RGBrgb(123, 47, 176)
HSLhsl(275, 58%, 44%)
HSVhsv(275, 73%, 69%)
CMYKcmyk(30.1%, 73.3%, 0%, 31%)
CIE-LABlab(36.70, 54.65, -54.70)
CIE-LCHlch(36.70, 77.32, 314.98°)
OKLaboklab(47.87% 0.1185 -0.1553)
OKLCHoklch(47.87% 0.195 307.3)
XYZxyz(17.0197, 9.3788, 41.9796)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FB0 #64B02F
analogous
#3A2FB0 #7B2FB0 #B02FA4
triadic
#7B2FB0 #B07B2F #2FB07B
tetradic
#7B2FB0 #B03A2F #64B02F #2FA4B0
square
#7B2FB0 #B03A2F #64B02F #2FA4B0
split-complementary
#7B2FB0 #A4B02F #2FB03A
monochromatic
#37154F #592280 #7B2FB0 #9A4DCF #B57DDC

Accessibility & contrast

On white

7.30
#7B2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7B2FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2FB0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FB0#FFFFFF#000000##FFFFFF
##7B2FB01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#724D6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2fb0;
/* rgb */ color: rgb(123, 47, 176);
/* oklch */ color: oklch(47.9% 0.195 307.3);
Tailwind
colors: {
  custom: {
    50: '#a66fc8',
    500: '#7b2fb0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fb0;
$custom-light: #a66fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fb0",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 275.349,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.19533,
    "h": 307.3
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#7B2FB0
secondary
#96C576
accent
#E14786
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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