#7B2FB3#7B2FB3

#7B2FB3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.198 H 306.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7B2FB3
RGBrgb(123, 47, 179)
HSLhsl(275, 58%, 44%)
HSVhsv(275, 74%, 70%)
CMYKcmyk(31.3%, 73.7%, 0%, 29.8%)
CIE-LABlab(36.93, 55.33, -56.11)
CIE-LCHlch(36.93, 78.81, 314.60°)
OKLaboklab(48.1% 0.118 -0.1595)
OKLCHoklch(48.1% 0.198 306.5)
XYZxyz(17.3198, 9.4988, 43.5601)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FB3 #67B32F
analogous
#392FB3 #7B2FB3 #B32FA9
triadic
#7B2FB3 #B37B2F #2FB37B
tetradic
#7B2FB3 #B3392F #67B32F #2FA9B3
square
#7B2FB3 #B3392F #67B32F #2FA9B3
split-complementary
#7B2FB3 #A9B32F #2FB339
monochromatic
#381652 #5A2283 #7B2FB3 #994FD1 #B57FDD

Accessibility & contrast

On white

7.24
#7B2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7B2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2FB3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FB3#FFFFFF#000000##FFFFFF
##7B2FB31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#714F6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b2fb3;
/* rgb */ color: rgb(123, 47, 179);
/* oklch */ color: oklch(48.1% 0.198 306.5);
Tailwind
colors: {
  custom: {
    50: '#a66fcb',
    500: '#7b2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fb3;
$custom-light: #a66fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fb3",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 274.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.19834,
    "h": 306.5
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#7B2FB3
secondary
#99C678
accent
#E24688
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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