#7E30BC#7E30BC

#7E30BC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.207 H 305.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7E30BC
RGBrgb(126, 48, 188)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 74%, 74%)
CMYKcmyk(33%, 74.5%, 0%, 26.3%)
CIE-LABlab(38.16, 57.53, -59.40)
CIE-LCHlch(38.16, 82.69, 314.08°)
OKLaboklab(49.28% 0.1194 -0.169)
OKLCHoklch(49.28% 0.207 305.2)
XYZxyz(18.7362, 10.1805, 48.5452)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30BC #6EBC30
analogous
#3830BC #7E30BC #BC30B4
triadic
#7E30BC #BC7E30 #30BC7E
tetradic
#7E30BC #BC3830 #6EBC30 #30B4BC
square
#7E30BC #BC3830 #6EBC30 #30B4BC
split-complementary
#7E30BC #B4BC30 #30BC38
monochromatic
#3D175A #5D248B #7E30BC #9C55D4 #B886E0

Accessibility & contrast

On white

6.92
#7E30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7E30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E30BC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30BC#FFFFFF#000000##FFFFFF
##7E30BC1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#725274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e30bc;
/* rgb */ color: rgb(126, 48, 188);
/* oklch */ color: oklch(49.3% 0.207 305.2);
Tailwind
colors: {
  custom: {
    50: '#a970d1',
    500: '#7e30bc',
    950: '#000000',
  },
}
SCSS
$custom: #7e30bc;
$custom-light: #a970d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30bc",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 273.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.20695,
    "h": 305.2
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#7E30BC
secondary
#A0CA7E
accent
#E3458B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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