#7C30CF#7C30CF

#7C30CF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.226 H 299.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7C30CF
RGBrgb(124, 48, 207)
HSLhsl(269, 62%, 50%)
HSVhsv(269, 77%, 81%)
CMYKcmyk(40.1%, 76.8%, 0%, 18.8%)
CIE-LABlab(39.42, 61.61, -68.45)
CIE-LCHlch(39.42, 92.10, 311.99°)
OKLaboklab(50.57% 0.1121 -0.1957)
OKLCHoklch(50.57% 0.226 299.8)
XYZxyz(20.6288, 10.9038, 60.0372)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30CF #83CF30
analogous
#3034CF #7C30CF #CB30CF
triadic
#7C30CF #CF7C30 #30CF7C
tetradic
#7C30CF #CF3034 #83CF30 #30CFCB
square
#7C30CF #CF3034 #83CF30 #30CFCB
split-complementary
#7C30CF #CFCB30 #34CF30
monochromatic
#40196C #5E249D #7C30CF #9B62DB #BB93E6

Accessibility & contrast

On white

6.60
#7C30CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7C30CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C30CF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30CF#FFFFFF#000000##FFFFFF
##7C30CF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#685B7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c30cf;
/* rgb */ color: rgb(124, 48, 207);
/* oklch */ color: oklch(50.6% 0.226 299.8);
Tailwind
colors: {
  custom: {
    50: '#a971df',
    500: '#7c30cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c30cf;
$custom-light: #a971df;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30cf",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 268.679,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.22554,
    "h": 299.8
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#7C30CF
secondary
#AFD18A
accent
#E54297
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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