#7B27C1#7B27C1

#7B27C1 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.5% C 0.220 H 303.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7B27C1
RGBrgb(123, 39, 193)
HSLhsl(273, 66%, 45%)
HSVhsv(273, 80%, 76%)
CMYKcmyk(36.3%, 79.8%, 0%, 24.3%)
CIE-LABlab(36.95, 61.61, -64.33)
CIE-LCHlch(36.95, 89.08, 313.76°)
OKLaboklab(48.46% 0.1215 -0.1835)
OKLCHoklch(48.46% 0.22 303.5)
XYZxyz(18.5173, 9.5123, 51.3022)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B27C1 #6DC127
analogous
#2E27C1 #7B27C1 #C127BA
triadic
#7B27C1 #C17B27 #27C17B
tetradic
#7B27C1 #C12E27 #6DC127 #27BAC1
square
#7B27C1 #C12E27 #6DC127 #27BAC1
split-complementary
#7B27C1 #BAC127 #27C12E
monochromatic
#3A125B #5B1D8E #7B27C1 #994BDB #B67EE5

Accessibility & contrast

On white

7.24
#7B27C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7B27C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B27C1
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B27C1#FFFFFF#000000##FFFFFF
##7B27C11.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#6D5175
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b27c1;
/* rgb */ color: rgb(123, 39, 193);
/* oklch */ color: oklch(48.5% 0.220 303.5);
Tailwind
colors: {
  custom: {
    50: '#a86cd5',
    500: '#7b27c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b27c1;
$custom-light: #a86cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b27c1",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 272.727,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.22013,
    "h": 303.5
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#7B27C1
secondary
#9ECD77
accent
#E93E8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7B27C1

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

Preview Lab → · Contrast checker → · Palette generator →

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