#7F30BC#7F30BC

#7F30BC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.207 H 305.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7F30BC
RGBrgb(127, 48, 188)
HSLhsl(274, 59%, 46%)
HSVhsv(274, 74%, 74%)
CMYKcmyk(32.4%, 74.5%, 0%, 26.3%)
CIE-LABlab(38.30, 57.71, -59.18)
CIE-LCHlch(38.30, 82.66, 314.28°)
OKLaboklab(49.4% 0.1208 -0.1683)
OKLCHoklch(49.4% 0.207 305.7)
XYZxyz(18.8844, 10.2569, 48.5521)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30BC #6DBC30
analogous
#3930BC #7F30BC #BC30B3
triadic
#7F30BC #BC7F30 #30BC7F
tetradic
#7F30BC #BC3930 #6DBC30 #30B3BC
square
#7F30BC #BC3930 #6DBC30 #30B3BC
split-complementary
#7F30BC #B3BC30 #30BC39
monochromatic
#3D175A #5E248B #7F30BC #9D55D4 #B986E0

Accessibility & contrast

On white

6.88
#7F30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F30BC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30BC#FFFFFF#000000##FFFFFF
##7F30BC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#745274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f30bc;
/* rgb */ color: rgb(127, 48, 188);
/* oklch */ color: oklch(49.4% 0.207 305.7);
Tailwind
colors: {
  custom: {
    50: '#a970d1',
    500: '#7f30bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f30bc;
$custom-light: #a970d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30bc",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 273.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49401,
    "c": 0.20718,
    "h": 305.7
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#7F30BC
secondary
#9FCA7E
accent
#E3458A
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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