#7E30D0#7E30D0

#7E30D0 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.227 H 300.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7E30D0
RGBrgb(126, 48, 208)
HSLhsl(269, 63%, 50%)
HSVhsv(269, 77%, 82%)
CMYKcmyk(39.4%, 76.9%, 0%, 18.4%)
CIE-LABlab(39.75, 62.16, -68.47)
CIE-LCHlch(39.75, 92.48, 312.23°)
OKLaboklab(50.89% 0.1147 -0.1957)
OKLCHoklch(50.89% 0.227 300.4)
XYZxyz(21.0435, 11.1034, 60.6968)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30D0 #82D030
analogous
#3032D0 #7E30D0 #CE30D0
triadic
#7E30D0 #D07E30 #30D07E
tetradic
#7E30D0 #D03032 #82D030 #30D0CE
square
#7E30D0 #D03032 #82D030 #30D0CE
split-complementary
#7E30D0 #D0CE30 #32D030
monochromatic
#42196D #60249F #7E30D0 #9D62DB #BC94E7

Accessibility & contrast

On white

6.52
#7E30D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7E30D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E30D0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30D0#FFFFFF#000000##FFFFFF
##7E30D01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#6B5B7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e30d0;
/* rgb */ color: rgb(126, 48, 208);
/* oklch */ color: oklch(50.9% 0.227 300.4);
Tailwind
colors: {
  custom: {
    50: '#ab71df',
    500: '#7e30d0',
    950: '#000000',
  },
}
SCSS
$custom: #7e30d0;
$custom-light: #ab71df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30d0",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 269.25,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.22683,
    "h": 300.4
  },
  "luminance": 0.11104
}

Semantic roles & 50–950 ramp

primary
#7E30D0
secondary
#AFD28A
accent
#E64296
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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