#7B27B7#7B27B7

#7B27B7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.211 H 306.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7B27B7
RGBrgb(123, 39, 183)
HSLhsl(275, 65%, 44%)
HSVhsv(275, 79%, 72%)
CMYKcmyk(32.8%, 78.7%, 0%, 28.2%)
CIE-LABlab(36.14, 59.38, -59.77)
CIE-LCHlch(36.14, 84.25, 314.81°)
OKLaboklab(47.65% 0.1242 -0.1701)
OKLCHoklch(47.65% 0.211 306.1)
XYZxyz(17.4393, 9.0811, 45.6247)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B27B7 #63B727
analogous
#3327B7 #7B27B7 #B727AB
triadic
#7B27B7 #B77B27 #27B77B
tetradic
#7B27B7 #B73327 #63B727 #27ABB7
square
#7B27B7 #B73327 #63B727 #27ABB7
split-complementary
#7B27B7 #ABB727 #27B733
monochromatic
#371152 #591C85 #7B27B7 #9A44D7 #B576E2

Accessibility & contrast

On white

7.46
#7B27B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B27B7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B27B7#FFFFFF#000000##FFFFFF
##7B27B71.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#704D6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b27b7;
/* rgb */ color: rgb(123, 39, 183);
/* oklch */ color: oklch(47.6% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#a76bce',
    500: '#7b27b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b27b7;
$custom-light: #a76bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b27b7",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 275,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.21063,
    "h": 306.1
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#7B27B7
secondary
#95C970
accent
#E84086
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B27B7

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

Preview Lab → · Contrast checker → · Palette generator →

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