#7F2BC5#7F2BC5

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

Color values

HEX#7F2BC5
RGBrgb(127, 43, 197)
HSLhsl(273, 64%, 47%)
HSVhsv(273, 78%, 77%)
CMYKcmyk(35.5%, 78.2%, 0%, 22.7%)
CIE-LABlab(38.32, 61.70, -64.41)
CIE-LCHlch(38.32, 89.20, 313.77°)
OKLaboklab(49.64% 0.123 -0.1837)
OKLCHoklch(49.64% 0.221 303.8)
XYZxyz(19.6920, 10.2710, 53.7576)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2BC5 #71C52B
analogous
#322BC5 #7F2BC5 #C52BBE
triadic
#7F2BC5 #C57F2B #2BC57F
tetradic
#7F2BC5 #C5322B #71C52B #2BBEC5
square
#7F2BC5 #C5322B #71C52B #2BBEC5
split-complementary
#7F2BC5 #BEC52B #2BC532
monochromatic
#3E1561 #5F2093 #7F2BC5 #9D54DA #BA86E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2BC5#FFFFFF#000000##FFFFFF
##7F2BC51.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)
#0058C9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#715478
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f2bc5;
/* rgb */ color: rgb(127, 43, 197);
/* oklch */ color: oklch(49.6% 0.221 303.8);
Tailwind
colors: {
  custom: {
    50: '#aa6ed8',
    500: '#7f2bc5',
    950: '#000000',
  },
}
SCSS
$custom: #7f2bc5;
$custom-light: #aa6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2bc5",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 197
  },
  "hsl": {
    "h": 272.727,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.22105,
    "h": 303.8
  },
  "luminance": 0.10271
}

Semantic roles & 50–950 ramp

primary
#7F2BC5
secondary
#A2CE7E
accent
#E7418C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7F2BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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