#7F30BE#7F30BE

#7F30BE is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.209 H 305.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7F30BE
RGBrgb(127, 48, 190)
HSLhsl(273, 60%, 47%)
HSVhsv(273, 75%, 75%)
CMYKcmyk(33.2%, 74.7%, 0%, 25.5%)
CIE-LABlab(38.45, 58.16, -60.10)
CIE-LCHlch(38.45, 83.64, 314.06°)
OKLaboklab(49.56% 0.1204 -0.171)
OKLCHoklch(49.56% 0.209 305.1)
XYZxyz(19.1015, 10.3438, 49.6955)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30BE #6FBE30
analogous
#3830BE #7F30BE #BE30B6
triadic
#7F30BE #BE7F30 #30BE7F
tetradic
#7F30BE #BE3830 #6FBE30 #30B6BE
square
#7F30BE #BE3830 #6FBE30 #30B6BE
split-complementary
#7F30BE #B6BE30 #30BE38
monochromatic
#3E175C #5E248D #7F30BE #9D57D4 #B988E1

Accessibility & contrast

On white

6.84
#7F30BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7F30BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F30BE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30BE#FFFFFF#000000##FFFFFF
##7F30BE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#735375
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f30be;
/* rgb */ color: rgb(127, 48, 190);
/* oklch */ color: oklch(49.6% 0.209 305.1);
Tailwind
colors: {
  custom: {
    50: '#aa70d3',
    500: '#7f30be',
    950: '#000000',
  },
}
SCSS
$custom: #7f30be;
$custom-light: #aa70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30be",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 190
  },
  "hsl": {
    "h": 273.38,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.20916,
    "h": 305.1
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#7F30BE
secondary
#A1CB7F
accent
#E3458B
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F30BE

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

Preview Lab → · Contrast checker → · Palette generator →

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