#7F2EBB#7F2EBB

#7F2EBB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.208 H 306.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7F2EBB
RGBrgb(127, 46, 187)
HSLhsl(274, 61%, 46%)
HSVhsv(274, 75%, 73%)
CMYKcmyk(32.1%, 75.4%, 0%, 26.7%)
CIE-LABlab(37.94, 58.30, -59.17)
CIE-LCHlch(37.94, 83.07, 314.57°)
OKLaboklab(49.12% 0.1228 -0.1683)
OKLCHoklch(49.12% 0.208 306.1)
XYZxyz(18.6971, 10.0540, 47.9597)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2EBB #6ABB2E
analogous
#382EBB #7F2EBB #BB2EB0
triadic
#7F2EBB #BB7F2E #2EBB7F
tetradic
#7F2EBB #BB382E #6ABB2E #2EB0BB
square
#7F2EBB #BB382E #6ABB2E #2EB0BB
split-complementary
#7F2EBB #B0BB2E #2EBB38
monochromatic
#3C1659 #5E228A #7F2EBB #9D52D4 #B983E0

Accessibility & contrast

On white

6.97
#7F2EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F2EBB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2EBB#FFFFFF#000000##FFFFFF
##7F2EBB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#745173
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f2ebb;
/* rgb */ color: rgb(127, 46, 187);
/* oklch */ color: oklch(49.1% 0.208 306.1);
Tailwind
colors: {
  custom: {
    50: '#aa6fd0',
    500: '#7f2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #7f2ebb;
$custom-light: #aa6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2ebb",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 274.468,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.20835,
    "h": 306.1
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#7F2EBB
secondary
#9DCA7B
accent
#E44488
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #7F2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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