#7B29CA#7B29CA

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

Color values

HEX#7B29CA
RGBrgb(123, 41, 202)
HSLhsl(271, 66%, 48%)
HSVhsv(271, 80%, 79%)
CMYKcmyk(39.1%, 79.7%, 0%, 20.8%)
CIE-LABlab(37.95, 62.95, -67.96)
CIE-LCHlch(37.95, 92.63, 312.81°)
OKLaboklab(49.39% 0.1175 -0.1942)
OKLCHoklch(49.39% 0.227 301.2)
XYZxyz(19.6194, 10.0610, 56.7740)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29CA #78CA29
analogous
#2B29CA #7B29CA #CA29C8
triadic
#7B29CA #CA7B29 #29CA7B
tetradic
#7B29CA #CA2B29 #78CA29 #29C8CA
square
#7B29CA #CA2B29 #78CA29 #29C8CA
split-complementary
#7B29CA #C8CA29 #29CA2B
monochromatic
#3D1464 #5C1F97 #7B29CA #9954DC #B887E7

Accessibility & contrast

On white

6.97
#7B29CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B29CA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29CA#FFFFFF#000000##FFFFFF
##7B29CA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#69567A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b29ca;
/* rgb */ color: rgb(123, 41, 202);
/* oklch */ color: oklch(49.4% 0.227 301.2);
Tailwind
colors: {
  custom: {
    50: '#a86ddb',
    500: '#7b29ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b29ca;
$custom-light: #a86ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29ca",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 202
  },
  "hsl": {
    "h": 270.559,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.22697,
    "h": 301.2
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#7B29CA
secondary
#A7D07F
accent
#E93F92
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83

Preview Lab

Preview with #7B29CA

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

Preview Lab → · Contrast checker → · Palette generator →

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