#7B2FBC#7B2FBC

#7B2FBC is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.207 H 304.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7B2FBC
RGBrgb(123, 47, 188)
HSLhsl(272, 60%, 46%)
HSVhsv(272, 75%, 74%)
CMYKcmyk(34.6%, 75%, 0%, 26.3%)
CIE-LABlab(37.62, 57.40, -60.31)
CIE-LCHlch(37.62, 83.26, 313.58°)
OKLaboklab(48.81% 0.1161 -0.1718)
OKLCHoklch(48.81% 0.207 304.1)
XYZxyz(18.2599, 9.8749, 48.5113)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FBC #70BC2F
analogous
#342FBC #7B2FBC #BC2FB6
triadic
#7B2FBC #BC7B2F #2FBC7B
tetradic
#7B2FBC #BC342F #70BC2F #2FB6BC
square
#7B2FBC #BC342F #70BC2F #2FB6BC
split-complementary
#7B2FBC #B6BC2F #2FBC34
monochromatic
#3B175A #5B238B #7B2FBC #9954D4 #B685E0

Accessibility & contrast

On white

7.06
#7B2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B2FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2FBC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FBC#FFFFFF#000000##FFFFFF
##7B2FBC1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#6E5274
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b2fbc;
/* rgb */ color: rgb(123, 47, 188);
/* oklch */ color: oklch(48.8% 0.207 304.1);
Tailwind
colors: {
  custom: {
    50: '#a76fd1',
    500: '#7b2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fbc;
$custom-light: #a76fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fbc",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 272.34,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48805,
    "c": 0.20737,
    "h": 304.1
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#7B2FBC
secondary
#A0CA7D
accent
#E3458E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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