#7B2FBE#7B2FBE

#7B2FBE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.209 H 303.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7B2FBE
RGBrgb(123, 47, 190)
HSLhsl(272, 60%, 46%)
HSVhsv(272, 75%, 75%)
CMYKcmyk(35.3%, 75.3%, 0%, 25.5%)
CIE-LABlab(37.77, 57.86, -61.23)
CIE-LCHlch(37.77, 84.25, 313.38°)
OKLaboklab(48.96% 0.1157 -0.1745)
OKLCHoklch(48.96% 0.209 303.5)
XYZxyz(18.4770, 9.9617, 49.6546)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FBE #72BE2F
analogous
#332FBE #7B2FBE #BE2FBA
triadic
#7B2FBE #BE7B2F #2FBE7B
tetradic
#7B2FBE #BE332F #72BE2F #2FBABE
square
#7B2FBE #BE332F #72BE2F #2FBABE
split-complementary
#7B2FBE #BABE2F #2FBE33
monochromatic
#3B175C #5B238D #7B2FBE #9955D5 #B786E1

Accessibility & contrast

On white

7.02
#7B2FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7B2FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2FBE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FBE#FFFFFF#000000##FFFFFF
##7B2FBE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#6E5375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b2fbe;
/* rgb */ color: rgb(123, 47, 190);
/* oklch */ color: oklch(49.0% 0.209 303.5);
Tailwind
colors: {
  custom: {
    50: '#a76fd3',
    500: '#7b2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fbe;
$custom-light: #a76fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fbe",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 271.888,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48964,
    "c": 0.20937,
    "h": 303.5
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#7B2FBE
secondary
#A2CB7E
accent
#E3448F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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