#7B2FBD#7B2FBD

#7B2FBD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.208 H 303.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7B2FBD
RGBrgb(123, 47, 189)
HSLhsl(272, 60%, 46%)
HSVhsv(272, 75%, 74%)
CMYKcmyk(34.9%, 75.1%, 0%, 25.9%)
CIE-LABlab(37.70, 57.63, -60.77)
CIE-LCHlch(37.70, 83.75, 313.48°)
OKLaboklab(48.88% 0.1159 -0.1731)
OKLCHoklch(48.88% 0.208 303.8)
XYZxyz(18.3681, 9.9181, 49.0810)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FBD #71BD2F
analogous
#342FBD #7B2FBD #BD2FB8
triadic
#7B2FBD #BD7B2F #2FBD7B
tetradic
#7B2FBD #BD342F #71BD2F #2FB8BD
square
#7B2FBD #BD342F #71BD2F #2FB8BD
split-complementary
#7B2FBD #B8BD2F #2FBD34
monochromatic
#3B175B #5B238C #7B2FBD #9955D5 #B686E1

Accessibility & contrast

On white

7.04
#7B2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7B2FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2FBD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FBD#FFFFFF#000000##FFFFFF
##7B2FBD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#6E5374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b2fbd;
/* rgb */ color: rgb(123, 47, 189);
/* oklch */ color: oklch(48.9% 0.208 303.8);
Tailwind
colors: {
  custom: {
    50: '#a76fd2',
    500: '#7b2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fbd;
$custom-light: #a76fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fbd",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 272.113,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.20837,
    "h": 303.8
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#7B2FBD
secondary
#A1CA7E
accent
#E3448E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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