#7B30C1#7B30C1

#7B30C1 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.211 H 302.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7B30C1
RGBrgb(123, 48, 193)
HSLhsl(271, 60%, 47%)
HSVhsv(271, 75%, 76%)
CMYKcmyk(36.3%, 75.1%, 0%, 24.3%)
CIE-LABlab(38.15, 58.15, -62.37)
CIE-LCHlch(38.15, 85.27, 312.99°)
OKLaboklab(49.31% 0.1141 -0.1778)
OKLCHoklch(49.31% 0.211 302.7)
XYZxyz(18.8487, 10.1751, 51.4127)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30C1 #76C130
analogous
#3230C1 #7B30C1 #C130BF
triadic
#7B30C1 #C17B30 #30C17B
tetradic
#7B30C1 #C13230 #76C130 #30BFC1
square
#7B30C1 #C13230 #76C130 #30BFC1
split-complementary
#7B30C1 #BFC130 #30C132
monochromatic
#3D185F #5C2490 #7B30C1 #9959D6 #B78AE2

Accessibility & contrast

On white

6.92
#7B30C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7B30C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B30C1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30C1#FFFFFF#000000##FFFFFF
##7B30C11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#6C5577
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b30c1;
/* rgb */ color: rgb(123, 48, 193);
/* oklch */ color: oklch(49.3% 0.211 302.7);
Tailwind
colors: {
  custom: {
    50: '#a770d5',
    500: '#7b30c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b30c1;
$custom-light: #a770d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30c1",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 271.034,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.21132,
    "h": 302.7
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#7B30C1
secondary
#A5CC81
accent
#E34491
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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