#7E30BF#7E30BF

#7E30BF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.210 H 304.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7E30BF
RGBrgb(126, 48, 191)
HSLhsl(273, 60%, 47%)
HSVhsv(273, 75%, 75%)
CMYKcmyk(34%, 74.9%, 0%, 25.1%)
CIE-LABlab(38.40, 58.21, -60.79)
CIE-LCHlch(38.40, 84.17, 313.76°)
OKLaboklab(49.51% 0.1188 -0.1731)
OKLCHoklch(49.51% 0.21 304.5)
XYZxyz(19.0630, 10.3112, 50.2661)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30BF #71BF30
analogous
#3630BF #7E30BF #BF30B9
triadic
#7E30BF #BF7E30 #30BF7E
tetradic
#7E30BF #BF3630 #71BF30 #30B9BF
square
#7E30BF #BF3630 #71BF30 #30B9BF
split-complementary
#7E30BF #B9BF30 #30BF36
monochromatic
#3D175D #5E248E #7E30BF #9C57D5 #B988E1

Accessibility & contrast

On white

6.86
#7E30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7E30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E30BF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30BF#FFFFFF#000000##FFFFFF
##7E30BF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#715476
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e30bf;
/* rgb */ color: rgb(126, 48, 191);
/* oklch */ color: oklch(49.5% 0.210 304.5);
Tailwind
colors: {
  custom: {
    50: '#a970d3',
    500: '#7e30bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e30bf;
$custom-light: #a970d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30bf",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 272.727,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.20993,
    "h": 304.5
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#7E30BF
secondary
#A2CB80
accent
#E3458D
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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