#7A2BB0#7A2BB0

#7A2BB0 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.200 H 307.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7A2BB0
RGBrgb(122, 43, 176)
HSLhsl(276, 61%, 43%)
HSVhsv(276, 76%, 69%)
CMYKcmyk(30.7%, 75.6%, 0%, 31%)
CIE-LABlab(35.98, 56.11, -55.87)
CIE-LCHlch(35.98, 79.18, 315.12°)
OKLaboklab(47.34% 0.1209 -0.1587)
OKLCHoklch(47.34% 0.2 307.3)
XYZxyz(16.7247, 9.0001, 41.9220)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2BB0 #61B02B
analogous
#372BB0 #7A2BB0 #B02BA3
triadic
#7A2BB0 #B07A2B #2BB07A
tetradic
#7A2BB0 #B0372B #61B02B #2BA3B0
square
#7A2BB0 #B0372B #61B02B #2BA3B0
split-complementary
#7A2BB0 #A3B02B #2BB037
monochromatic
#36134E #581F7F #7A2BB0 #9946D2 #B478DE

Accessibility & contrast

On white

7.50
#7A2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7A2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2BB0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2BB0#FFFFFF#000000##FFFFFF
##7A2BB01.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#714B6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7a2bb0;
/* rgb */ color: rgb(122, 43, 176);
/* oklch */ color: oklch(47.3% 0.200 307.3);
Tailwind
colors: {
  custom: {
    50: '#a66dc8',
    500: '#7a2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7a2bb0;
$custom-light: #a66dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2bb0",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 275.639,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.19955,
    "h": 307.3
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#7A2BB0
secondary
#93C671
accent
#E44485
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7A2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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