#7E30BD#7E30BD

#7E30BD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.208 H 305.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7E30BD
RGBrgb(126, 48, 189)
HSLhsl(273, 59%, 46%)
HSVhsv(273, 75%, 74%)
CMYKcmyk(33.3%, 74.6%, 0%, 25.9%)
CIE-LABlab(38.24, 57.76, -59.87)
CIE-LCHlch(38.24, 83.18, 313.97°)
OKLaboklab(49.36% 0.1192 -0.1704)
OKLCHoklch(49.36% 0.208 305)
XYZxyz(18.8444, 10.2238, 49.1149)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E30BD #6FBD30
analogous
#3730BD #7E30BD #BD30B6
triadic
#7E30BD #BD7E30 #30BD7E
tetradic
#7E30BD #BD3730 #6FBD30 #30B6BD
square
#7E30BD #BD3730 #6FBD30 #30B6BD
split-complementary
#7E30BD #B6BD30 #30BD37
monochromatic
#3D175B #5D248C #7E30BD #9C56D4 #B887E0

Accessibility & contrast

On white

6.90
#7E30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E30BD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E30BD#FFFFFF#000000##FFFFFF
##7E30BD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#725374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e30bd;
/* rgb */ color: rgb(126, 48, 189);
/* oklch */ color: oklch(49.4% 0.208 305.0);
Tailwind
colors: {
  custom: {
    50: '#a970d2',
    500: '#7e30bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e30bd;
$custom-light: #a970d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e30bd",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 273.191,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.20794,
    "h": 305
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#7E30BD
secondary
#A0CA7F
accent
#E3458C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7E30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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