#7B2CAF#7B2CAF

#7B2CAF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.198 H 307.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7B2CAF
RGBrgb(123, 44, 175)
HSLhsl(276, 60%, 43%)
HSVhsv(276, 75%, 69%)
CMYKcmyk(29.7%, 74.9%, 0%, 31.4%)
CIE-LABlab(36.19, 55.67, -54.93)
CIE-LCHlch(36.19, 78.21, 315.38°)
OKLaboklab(47.49% 0.1216 -0.156)
OKLCHoklch(47.49% 0.198 307.9)
XYZxyz(16.8053, 9.1077, 41.4218)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2CAF #60AF2C
analogous
#392CAF #7B2CAF #AF2CA1
triadic
#7B2CAF #AF7B2C #2CAF7B
tetradic
#7B2CAF #AF392C #60AF2C #2CA1AF
square
#7B2CAF #AF392C #60AF2C #2CA1AF
split-complementary
#7B2CAF #A1AF2C #2CAF39
monochromatic
#36134D #59207E #7B2CAF #9A47D1 #B578DD

Accessibility & contrast

On white

7.44
#7B2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7B2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2CAF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2CAF#FFFFFF#000000##FFFFFF
##7B2CAF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#734B6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2caf;
/* rgb */ color: rgb(123, 44, 175);
/* oklch */ color: oklch(47.5% 0.198 307.9);
Tailwind
colors: {
  custom: {
    50: '#a66dc8',
    500: '#7b2caf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2caf;
$custom-light: #a66dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2caf",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 276.183,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47488,
    "c": 0.19774,
    "h": 307.9
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#7B2CAF
secondary
#93C572
accent
#E34584
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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