#7E30CF#7E30CF

#7E30CF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.226 H 300.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7E30CF
RGBrgb(126, 48, 207)
HSLhsl(269, 62%, 50%)
HSVhsv(269, 77%, 81%)
CMYKcmyk(39.1%, 76.8%, 0%, 18.8%)
CIE-LABlab(39.67, 61.93, -68.03)
CIE-LCHlch(39.67, 91.99, 312.31°)
OKLaboklab(50.8% 0.115 -0.1944)
OKLCHoklch(50.8% 0.226 300.6)
XYZxyz(20.9208, 11.0543, 60.0509)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30CF #81CF30
analogous
#3031CF #7E30CF #CE30CF
triadic
#7E30CF #CF7E30 #30CF7E
tetradic
#7E30CF #CF3031 #81CF30 #30CFCE
square
#7E30CF #CF3031 #81CF30 #30CFCE
split-complementary
#7E30CF #CFCE30 #31CF30
monochromatic
#42196C #60249D #7E30CF #9D62DB #BC93E6

Accessibility & contrast

On white

6.54
#7E30CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7E30CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E30CF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30CF#FFFFFF#000000##FFFFFF
##7E30CF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#6B5A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e30cf;
/* rgb */ color: rgb(126, 48, 207);
/* oklch */ color: oklch(50.8% 0.226 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa71df',
    500: '#7e30cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e30cf;
$custom-light: #aa71df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30cf",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 269.434,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.50804,
    "c": 0.22584,
    "h": 300.6
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#7E30CF
secondary
#AED18A
accent
#E54295
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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