#7A2BC9#7A2BC9

#7A2BC9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.224 H 300.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7A2BC9
RGBrgb(122, 43, 201)
HSLhsl(270, 65%, 48%)
HSVhsv(270, 79%, 79%)
CMYKcmyk(39.3%, 78.6%, 0%, 21.2%)
CIE-LABlab(37.99, 61.83, -67.32)
CIE-LCHlch(37.99, 91.40, 312.57°)
OKLaboklab(49.36% 0.1148 -0.1924)
OKLCHoklch(49.36% 0.224 300.8)
XYZxyz(19.4299, 10.0822, 56.1694)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2BC9 #7AC92B
analogous
#2B2BC9 #7A2BC9 #C92BC9
triadic
#7A2BC9 #C97A2B #2BC97A
tetradic
#7A2BC9 #C92B2B #7AC92B #2BC9C9
square
#7A2BC9 #C92B2B #7AC92B #2BC9C9
split-complementary
#7A2BC9 #C9C92B #2BC92B
monochromatic
#3D1564 #5B2097 #7A2BC9 #9956DB #B789E6

Accessibility & contrast

On white

6.96
#7A2BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7A2BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A2BC9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2BC9#FFFFFF#000000##FFFFFF
##7A2BC91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#68567A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7a2bc9;
/* rgb */ color: rgb(122, 43, 201);
/* oklch */ color: oklch(49.4% 0.224 300.8);
Tailwind
colors: {
  custom: {
    50: '#a86edb',
    500: '#7a2bc9',
    950: '#000000',
  },
}
SCSS
$custom: #7a2bc9;
$custom-light: #a86edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2bc9",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 201
  },
  "hsl": {
    "h": 270,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49364,
    "c": 0.22403,
    "h": 300.8
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#7A2BC9
secondary
#A8CF80
accent
#E84094
background
#FAF6FD
surface
#F5ECFB
border
#CFC7D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7A2BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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