#7F2BB0#7F2BB0

#7F2BB0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.201 H 309.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7F2BB0
RGBrgb(127, 43, 176)
HSLhsl(278, 61%, 43%)
HSVhsv(278, 76%, 69%)
CMYKcmyk(27.8%, 75.6%, 0%, 31%)
CIE-LABlab(36.70, 57.05, -54.68)
CIE-LCHlch(36.70, 79.02, 316.21°)
OKLaboklab(47.99% 0.1277 -0.1551)
OKLCHoklch(47.99% 0.201 309.5)
XYZxyz(17.4512, 9.3747, 41.9561)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2BB0 #5CB02B
analogous
#3D2BB0 #7F2BB0 #B02B9E
triadic
#7F2BB0 #B07F2B #2BB07F
tetradic
#7F2BB0 #B03D2B #5CB02B #2B9EB0
square
#7F2BB0 #B03D2B #5CB02B #2B9EB0
split-complementary
#7F2BB0 #9EB02B #2BB03D
monochromatic
#38134E #5C1F7F #7F2BB0 #9E46D2 #B878DE

Accessibility & contrast

On white

7.30
#7F2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7F2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2BB0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2BB0#FFFFFF#000000##FFFFFF
##7F2BB01.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#784B6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f2bb0;
/* rgb */ color: rgb(127, 43, 176);
/* oklch */ color: oklch(48.0% 0.201 309.5);
Tailwind
colors: {
  custom: {
    50: '#a96dc8',
    500: '#7f2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #7f2bb0;
$custom-light: #a96dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2bb0",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 277.895,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.20092,
    "h": 309.5
  },
  "luminance": 0.09374
}

Semantic roles & 50–950 ramp

primary
#7F2BB0
secondary
#90C671
accent
#E4447F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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