#7F30C3#7F30C3

#7F30C3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.214 H 303.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7F30C3
RGBrgb(127, 48, 195)
HSLhsl(272, 60%, 48%)
HSVhsv(272, 75%, 76%)
CMYKcmyk(34.9%, 75.4%, 0%, 23.5%)
CIE-LABlab(38.84, 59.31, -62.40)
CIE-LCHlch(38.84, 86.09, 313.54°)
OKLaboklab(49.95% 0.1193 -0.1778)
OKLCHoklch(49.95% 0.214 303.9)
XYZxyz(19.6574, 10.5661, 52.6230)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30C3 #74C330
analogous
#3530C3 #7F30C3 #C330BD
triadic
#7F30C3 #C37F30 #30C37F
tetradic
#7F30C3 #C33530 #74C330 #30BDC3
square
#7F30C3 #C33530 #74C330 #30BDC3
split-complementary
#7F30C3 #BDC330 #30C335
monochromatic
#3F1861 #5F2492 #7F30C3 #9D5AD6 #BA8BE2

Accessibility & contrast

On white

6.75
#7F30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7F30C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F30C3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30C3#FFFFFF#000000##FFFFFF
##7F30C31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#715578
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f30c3;
/* rgb */ color: rgb(127, 48, 195);
/* oklch */ color: oklch(50.0% 0.214 303.9);
Tailwind
colors: {
  custom: {
    50: '#aa71d6',
    500: '#7f30c3',
    950: '#000000',
  },
}
SCSS
$custom: #7f30c3;
$custom-light: #aa71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30c3",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 272.245,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4995,
    "c": 0.21412,
    "h": 303.9
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#7F30C3
secondary
#A5CC82
accent
#E4448E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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