#7B2697#7B2697

#7B2697 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.182 H 316.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7B2697
RGBrgb(123, 38, 151)
HSLhsl(285, 60%, 37%)
HSVhsv(285, 75%, 59%)
CMYKcmyk(18.5%, 74.8%, 0%, 40.8%)
CIE-LABlab(33.63, 52.91, -44.60)
CIE-LCHlch(33.63, 69.20, 319.87°)
OKLaboklab(45.13% 0.1311 -0.1256)
OKLCHoklch(45.13% 0.182 316.2)
XYZxyz(14.4465, 7.8321, 30.0229)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2697 #429726
analogous
#432697 #7B2697 #97267A
triadic
#7B2697 #977B26 #26977B
tetradic
#7B2697 #974326 #429726 #267A97
square
#7B2697 #974326 #429726 #267A97
split-complementary
#7B2697 #7A9726 #269743
monochromatic
#2B0D35 #531A66 #7B2697 #A332C8 #BA60D7

Accessibility & contrast

On white

8.18
#7B2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7B2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2697
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2697#FFFFFF#000000##FFFFFF
##7B26971.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#255194
Tritanopia (blue-blind)
#793E5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b2697;
/* rgb */ color: rgb(123, 38, 151);
/* oklch */ color: oklch(45.1% 0.182 316.2);
Tailwind
colors: {
  custom: {
    50: '#a569b6',
    500: '#7b2697',
    950: '#000000',
  },
}
SCSS
$custom: #7b2697;
$custom-light: #a569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2697",
  "rgb": {
    "r": 123,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 285.133,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.18158,
    "h": 316.2
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#7B2697
secondary
#74BC5C
accent
#E3456C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2697

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

Preview Lab → · Contrast checker → · Palette generator →

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