#7A30CF#7A30CF

#7A30CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.225 H 299.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7A30CF
RGBrgb(122, 48, 207)
HSLhsl(268, 62%, 50%)
HSVhsv(268, 77%, 81%)
CMYKcmyk(41.1%, 76.8%, 0%, 18.8%)
CIE-LABlab(39.17, 61.30, -68.88)
CIE-LCHlch(39.17, 92.20, 311.67°)
OKLaboklab(50.34% 0.1093 -0.197)
OKLCHoklch(50.34% 0.225 299)
XYZxyz(20.3426, 10.7562, 60.0238)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A30CF #85CF30
analogous
#3035CF #7A30CF #CA30CF
triadic
#7A30CF #CF7A30 #30CF7A
tetradic
#7A30CF #CF3035 #85CF30 #30CFCA
square
#7A30CF #CF3035 #85CF30 #30CFCA
split-complementary
#7A30CF #CFCA30 #35CF30
monochromatic
#3F196C #5D249D #7A30CF #9A62DB #BA93E6

Accessibility & contrast

On white

6.66
#7A30CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7A30CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A30CF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A30CF#FFFFFF#000000##FFFFFF
##7A30CF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#655B7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7a30cf;
/* rgb */ color: rgb(122, 48, 207);
/* oklch */ color: oklch(50.3% 0.225 299.0);
Tailwind
colors: {
  custom: {
    50: '#a871df',
    500: '#7a30cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a30cf;
$custom-light: #a871df;
$custom-dark: #000000;
JSON
{
  "hex": "#7a30cf",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 267.925,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.50341,
    "c": 0.22527,
    "h": 299
  },
  "luminance": 0.10756
}

Semantic roles & 50–950 ramp

primary
#7A30CF
secondary
#B0D18A
accent
#E5429A
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7A30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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