#7F2BBE#7F2BBE

#7F2BBE is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.214 H 305.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7F2BBE
RGBrgb(127, 43, 190)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 77%, 75%)
CMYKcmyk(33.2%, 77.4%, 0%, 25.5%)
CIE-LABlab(37.77, 60.13, -61.22)
CIE-LCHlch(37.77, 85.81, 314.49°)
OKLaboklab(49.07% 0.1247 -0.1743)
OKLCHoklch(49.07% 0.214 305.6)
XYZxyz(18.9085, 9.9576, 49.6311)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2BBE #6ABE2B
analogous
#362BBE #7F2BBE #BE2BB3
triadic
#7F2BBE #BE7F2B #2BBE7F
tetradic
#7F2BBE #BE362B #6ABE2B #2BB3BE
square
#7F2BBE #BE362B #6ABE2B #2BB3BE
split-complementary
#7F2BBE #B3BE2B #2BBE36
monochromatic
#3C145A #5E208C #7F2BBE #9D4FD7 #B981E2

Accessibility & contrast

On white

7.02
#7F2BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7F2BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2BBE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2BBE#FFFFFF#000000##FFFFFF
##7F2BBE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#735174
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f2bbe;
/* rgb */ color: rgb(127, 43, 190);
/* oklch */ color: oklch(49.1% 0.214 305.6);
Tailwind
colors: {
  custom: {
    50: '#aa6ed3',
    500: '#7f2bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7f2bbe;
$custom-light: #aa6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2bbe",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 274.286,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49074,
    "c": 0.21434,
    "h": 305.6
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#7F2BBE
secondary
#9DCB7A
accent
#E64288
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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