#7F30BF#7F30BF

#7F30BF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.210 H 304.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7F30BF
RGBrgb(127, 48, 191)
HSLhsl(273, 60%, 47%)
HSVhsv(273, 75%, 75%)
CMYKcmyk(33.5%, 74.9%, 0%, 25.1%)
CIE-LABlab(38.53, 58.39, -60.56)
CIE-LCHlch(38.53, 84.13, 313.95°)
OKLaboklab(49.64% 0.1202 -0.1724)
OKLCHoklch(49.64% 0.21 304.9)
XYZxyz(19.2112, 10.3876, 50.2730)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30BF #70BF30
analogous
#3830BF #7F30BF #BF30B8
triadic
#7F30BF #BF7F30 #30BF7F
tetradic
#7F30BF #BF3830 #70BF30 #30B8BF
square
#7F30BF #BF3830 #70BF30 #30B8BF
split-complementary
#7F30BF #B8BF30 #30BF38
monochromatic
#3E175D #5E248E #7F30BF #9D57D5 #B988E1

Accessibility & contrast

On white

6.82
#7F30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7F30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F30BF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30BF#FFFFFF#000000##FFFFFF
##7F30BF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#735476
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f30bf;
/* rgb */ color: rgb(127, 48, 191);
/* oklch */ color: oklch(49.6% 0.210 304.9);
Tailwind
colors: {
  custom: {
    50: '#aa70d3',
    500: '#7f30bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f30bf;
$custom-light: #aa70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30bf",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 273.147,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.21015,
    "h": 304.9
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#7F30BF
secondary
#A1CB80
accent
#E3458C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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