#7C30AB#7C30AB

#7C30AB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.189 H 309.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7C30AB
RGBrgb(124, 48, 171)
HSLhsl(277, 56%, 43%)
HSVhsv(277, 72%, 67%)
CMYKcmyk(27.5%, 71.9%, 0%, 32.9%)
CIE-LABlab(36.63, 53.29, -51.83)
CIE-LCHlch(36.63, 74.34, 315.80°)
OKLaboklab(47.74% 0.1197 -0.1468)
OKLCHoklch(47.74% 0.189 309.2)
XYZxyz(16.7183, 9.3396, 39.4422)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30AB #5FAB30
analogous
#3E30AB #7C30AB #AB309C
triadic
#7C30AB #AB7C30 #30AB7C
tetradic
#7C30AB #AB3E30 #5FAB30 #309CAB
square
#7C30AB #AB3E30 #5FAB30 #309CAB
split-complementary
#7C30AB #9CAB30 #30AB3E
monochromatic
#37154B #59237B #7C30AB #9B4CCD #B67BDA

Accessibility & contrast

On white

7.32
#7C30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7C30AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C30AB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30AB#FFFFFF#000000##FFFFFF
##7C30AB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1357A8
Tritanopia (blue-blind)
#754C6A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c30ab;
/* rgb */ color: rgb(124, 48, 171);
/* oklch */ color: oklch(47.7% 0.189 309.2);
Tailwind
colors: {
  custom: {
    50: '#a66fc5',
    500: '#7c30ab',
    950: '#000000',
  },
}
SCSS
$custom: #7c30ab;
$custom-light: #a66fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30ab",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 277.073,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47736,
    "c": 0.18942,
    "h": 309.2
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#7C30AB
secondary
#92C374
accent
#DF4882
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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