#7B2FC0#7B2FC0

#7B2FC0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.211 H 303.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7B2FC0
RGBrgb(123, 47, 192)
HSLhsl(271, 61%, 47%)
HSVhsv(271, 76%, 75%)
CMYKcmyk(35.9%, 75.5%, 0%, 24.7%)
CIE-LABlab(37.93, 58.33, -62.15)
CIE-LCHlch(37.93, 85.23, 313.18°)
OKLaboklab(49.12% 0.1152 -0.1772)
OKLCHoklch(49.12% 0.211 303)
XYZxyz(18.6971, 10.0497, 50.8137)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FC0 #74C02F
analogous
#332FC0 #7B2FC0 #C02FBD
triadic
#7B2FC0 #C07B2F #2FC07B
tetradic
#7B2FC0 #C0332F #74C02F #2FBDC0
square
#7B2FC0 #C0332F #74C02F #2FBDC0
split-complementary
#7B2FC0 #BDC02F #2FC033
monochromatic
#3C175E #5C238F #7B2FC0 #9956D6 #B788E2

Accessibility & contrast

On white

6.98
#7B2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7B2FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B2FC0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FC0#FFFFFF#000000##FFFFFF
##7B2FC01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#6D5476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b2fc0;
/* rgb */ color: rgb(123, 47, 192);
/* oklch */ color: oklch(49.1% 0.211 303.0);
Tailwind
colors: {
  custom: {
    50: '#a76fd4',
    500: '#7b2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fc0;
$custom-light: #a76fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fc0",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 271.448,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.21137,
    "h": 303
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#7B2FC0
secondary
#A4CB7F
accent
#E44490
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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