#7C30CE#7C30CE

#7C30CE is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.225 H 300.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7C30CE
RGBrgb(124, 48, 206)
HSLhsl(269, 62%, 50%)
HSVhsv(269, 77%, 81%)
CMYKcmyk(39.8%, 76.7%, 0%, 19.2%)
CIE-LABlab(39.34, 61.37, -68.01)
CIE-LCHlch(39.34, 91.61, 312.06°)
OKLaboklab(50.49% 0.1124 -0.1944)
OKLCHoklch(50.49% 0.225 300)
XYZxyz(20.5069, 10.8550, 59.3954)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C30CE #82CE30
analogous
#3033CE #7C30CE #CB30CE
triadic
#7C30CE #CE7C30 #30CE7C
tetradic
#7C30CE #CE3033 #82CE30 #30CECB
square
#7C30CE #CE3033 #82CE30 #30CECB
split-complementary
#7C30CE #CECB30 #33CE30
monochromatic
#40196B #5E249C #7C30CE #9B61DA #BB93E6

Accessibility & contrast

On white

6.62
#7C30CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C30CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C30CE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C30CE#FFFFFF#000000##FFFFFF
##7C30CE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#695A7E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c30ce;
/* rgb */ color: rgb(124, 48, 206);
/* oklch */ color: oklch(50.5% 0.225 300.0);
Tailwind
colors: {
  custom: {
    50: '#a971de',
    500: '#7c30ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c30ce;
$custom-light: #a971de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c30ce",
  "rgb": {
    "r": 124,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 268.861,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.22454,
    "h": 300
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#7C30CE
secondary
#AED189
accent
#E54397
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C30CE

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

Preview Lab → · Contrast checker → · Palette generator →

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