#7F2BC0#7F2BC0

#7F2BC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.216 H 305.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7F2BC0
RGBrgb(127, 43, 192)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 78%, 75%)
CMYKcmyk(33.9%, 77.6%, 0%, 24.7%)
CIE-LABlab(37.92, 60.58, -62.14)
CIE-LCHlch(37.92, 86.78, 314.27°)
OKLaboklab(49.23% 0.1243 -0.177)
OKLCHoklch(49.23% 0.216 305.1)
XYZxyz(19.1285, 10.0457, 50.7902)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2BC0 #6CC02B
analogous
#352BC0 #7F2BC0 #C02BB6
triadic
#7F2BC0 #C07F2B #2BC07F
tetradic
#7F2BC0 #C0352B #6CC02B #2BB6C0
square
#7F2BC0 #C0352B #6CC02B #2BB6C0
split-complementary
#7F2BC0 #B6C02B #2BC035
monochromatic
#3D155C #5E208E #7F2BC0 #9D50D8 #B982E3

Accessibility & contrast

On white

6.98
#7F2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7F2BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2BC0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2BC0#FFFFFF#000000##FFFFFF
##7F2BC01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#735275
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f2bc0;
/* rgb */ color: rgb(127, 43, 192);
/* oklch */ color: oklch(49.2% 0.216 305.1);
Tailwind
colors: {
  custom: {
    50: '#aa6ed4',
    500: '#7f2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7f2bc0;
$custom-light: #aa6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2bc0",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 273.826,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.21625,
    "h": 305.1
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#7F2BC0
secondary
#9ECC7B
accent
#E64189
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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