#7F30BD#7F30BD

#7F30BD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.208 H 305.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7F30BD
RGBrgb(127, 48, 189)
HSLhsl(274, 59%, 46%)
HSVhsv(274, 75%, 74%)
CMYKcmyk(32.8%, 74.6%, 0%, 25.9%)
CIE-LABlab(38.38, 57.94, -59.64)
CIE-LCHlch(38.38, 83.15, 314.17°)
OKLaboklab(49.48% 0.1206 -0.1697)
OKLCHoklch(49.48% 0.208 305.4)
XYZxyz(18.9926, 10.3002, 49.1218)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30BD #6EBD30
analogous
#3930BD #7F30BD #BD30B5
triadic
#7F30BD #BD7F30 #30BD7F
tetradic
#7F30BD #BD3930 #6EBD30 #30B5BD
square
#7F30BD #BD3930 #6EBD30 #30B5BD
split-complementary
#7F30BD #B5BD30 #30BD39
monochromatic
#3D175B #5E248C #7F30BD #9D56D4 #B987E0

Accessibility & contrast

On white

6.86
#7F30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7F30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F30BD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30BD#FFFFFF#000000##FFFFFF
##7F30BD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#745374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f30bd;
/* rgb */ color: rgb(127, 48, 189);
/* oklch */ color: oklch(49.5% 0.208 305.4);
Tailwind
colors: {
  custom: {
    50: '#aa70d2',
    500: '#7f30bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f30bd;
$custom-light: #aa70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30bd",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 273.617,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49478,
    "c": 0.20817,
    "h": 305.4
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#7F30BD
secondary
#A0CA7F
accent
#E3458A
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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