#7D30BF#7D30BF

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

Color values

HEX#7D30BF
RGBrgb(125, 48, 191)
HSLhsl(272, 60%, 47%)
HSVhsv(272, 75%, 75%)
CMYKcmyk(34.6%, 74.9%, 0%, 25.1%)
CIE-LABlab(38.26, 58.04, -61.01)
CIE-LCHlch(38.26, 84.21, 313.57°)
OKLaboklab(49.39% 0.1174 -0.1738)
OKLCHoklch(49.39% 0.21 304)
XYZxyz(18.9162, 10.2355, 50.2592)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D30BF #72BF30
analogous
#3630BF #7D30BF #BF30BA
triadic
#7D30BF #BF7D30 #30BF7D
tetradic
#7D30BF #BF3630 #72BF30 #30BABF
square
#7D30BF #BF3630 #72BF30 #30BABF
split-complementary
#7D30BF #BABF30 #30BF36
monochromatic
#3D175D #5D248E #7D30BF #9B57D5 #B888E1

Accessibility & contrast

On white

6.89
#7D30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D30BF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D30BF#FFFFFF#000000##FFFFFF
##7D30BF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d30bf;
/* rgb */ color: rgb(125, 48, 191);
/* oklch */ color: oklch(49.4% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#a870d3',
    500: '#7d30bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d30bf;
$custom-light: #a870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d30bf",
  "rgb": {
    "r": 125,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 272.308,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.20972,
    "h": 304
  },
  "luminance": 0.10235
}

Semantic roles & 50–950 ramp

primary
#7D30BF
secondary
#A3CB80
accent
#E3458E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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