#7F30BB#7F30BB

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

Color values

HEX#7F30BB
RGBrgb(127, 48, 187)
HSLhsl(274, 59%, 46%)
HSVhsv(274, 74%, 73%)
CMYKcmyk(32.1%, 74.3%, 0%, 26.7%)
CIE-LABlab(38.22, 57.48, -58.71)
CIE-LCHlch(38.22, 82.17, 314.39°)
OKLaboklab(49.32% 0.121 -0.167)
OKLCHoklch(49.32% 0.206 305.9)
XYZxyz(18.7770, 10.2140, 47.9864)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30BB #6CBB30
analogous
#3A30BB #7F30BB #BB30B1
triadic
#7F30BB #BB7F30 #30BB7F
tetradic
#7F30BB #BB3A30 #6CBB30 #30B1BB
square
#7F30BB #BB3A30 #6CBB30 #30B1BB
split-complementary
#7F30BB #B1BB30 #30BB3A
monochromatic
#3D175A #5E238A #7F30BB #9D55D3 #B986E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F30BB#FFFFFF#000000##FFFFFF
##7F30BB1.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)
#0058BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#745273
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f30bb;
/* rgb */ color: rgb(127, 48, 187);
/* oklch */ color: oklch(49.3% 0.206 305.9);
Tailwind
colors: {
  custom: {
    50: '#a970d0',
    500: '#7f30bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f30bb;
$custom-light: #a970d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30bb",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 274.101,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.20618,
    "h": 305.9
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#7F30BB
secondary
#9EC97D
accent
#E24589
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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