#7B30C7#7B30C7

#7B30C7 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.217 H 301.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7B30C7
RGBrgb(123, 48, 199)
HSLhsl(270, 61%, 48%)
HSVhsv(270, 76%, 78%)
CMYKcmyk(38.2%, 75.9%, 0%, 22%)
CIE-LABlab(38.64, 59.56, -65.09)
CIE-LCHlch(38.64, 88.23, 312.46°)
OKLaboklab(49.79% 0.1127 -0.1858)
OKLCHoklch(49.79% 0.217 301.2)
XYZxyz(19.5316, 10.4483, 55.0095)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30C7 #7CC730
analogous
#3030C7 #7B30C7 #C630C7
triadic
#7B30C7 #C77B30 #30C77B
tetradic
#7B30C7 #C73030 #7CC730 #30C7C6
square
#7B30C7 #C73030 #7CC730 #30C7C6
split-complementary
#7B30C7 #C7C630 #30C730
monochromatic
#3E1864 #5D2496 #7B30C7 #9A5CD8 #B88EE4

Accessibility & contrast

On white

6.80
#7B30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B30C7
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30C7#FFFFFF#000000##FFFFFF
##7B30C71.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#6A577A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b30c7;
/* rgb */ color: rgb(123, 48, 199);
/* oklch */ color: oklch(49.8% 0.217 301.2);
Tailwind
colors: {
  custom: {
    50: '#a870d9',
    500: '#7b30c7',
    950: '#000000',
  },
}
SCSS
$custom: #7b30c7;
$custom-light: #a870d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30c7",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 269.801,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.21737,
    "h": 301.2
  },
  "luminance": 0.10448
}

Semantic roles & 50–950 ramp

primary
#7B30C7
secondary
#AACE85
accent
#E44494
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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