#7B27AF#7B27AF

#7B27AF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.203 H 308.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7B27AF
RGBrgb(123, 39, 175)
HSLhsl(277, 64%, 42%)
HSVhsv(277, 78%, 69%)
CMYKcmyk(29.7%, 77.7%, 0%, 31.4%)
CIE-LABlab(35.51, 57.62, -56.03)
CIE-LCHlch(35.51, 80.37, 315.80°)
OKLaboklab(47.01% 0.126 -0.1592)
OKLCHoklch(47.01% 0.203 308.4)
XYZxyz(16.6302, 8.7574, 41.3634)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B27AF #5BAF27
analogous
#3727AF #7B27AF #AF279F
triadic
#7B27AF #AF7B27 #27AF7B
tetradic
#7B27AF #AF3727 #5BAF27 #279FAF
square
#7B27AF #AF3727 #5BAF27 #279FAF
split-complementary
#7B27AF #9FAF27 #27AF37
monochromatic
#35114B #581C7D #7B27AF #9B3FD4 #B571DF

Accessibility & contrast

On white

7.63
#7B27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7B27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B27AF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B27AF#FFFFFF#000000##FFFFFF
##7B27AF1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#73496A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b27af;
/* rgb */ color: rgb(123, 39, 175);
/* oklch */ color: oklch(47.0% 0.203 308.4);
Tailwind
colors: {
  custom: {
    50: '#a66bc8',
    500: '#7b27af',
    950: '#000000',
  },
}
SCSS
$custom: #7b27af;
$custom-light: #a66bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b27af",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 277.059,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4701,
    "c": 0.20303,
    "h": 308.4
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#7B27AF
secondary
#8EC66B
accent
#E74180
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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