#7F2EBD#7F2EBD

#7F2EBD is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.210 H 305.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7F2EBD
RGBrgb(127, 46, 189)
HSLhsl(274, 61%, 46%)
HSVhsv(274, 76%, 74%)
CMYKcmyk(32.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(38.09, 58.75, -60.10)
CIE-LCHlch(38.09, 84.04, 314.35°)
OKLaboklab(49.28% 0.1224 -0.171)
OKLCHoklch(49.28% 0.21 305.6)
XYZxyz(18.9127, 10.1403, 49.0952)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2EBD #6CBD2E
analogous
#372EBD #7F2EBD #BD2EB3
triadic
#7F2EBD #BD7F2E #2EBD7F
tetradic
#7F2EBD #BD372E #6CBD2E #2EB3BD
square
#7F2EBD #BD372E #6CBD2E #2EB3BD
split-complementary
#7F2EBD #B3BD2E #2EBD37
monochromatic
#3D165B #5E228C #7F2EBD #9D53D5 #B984E1

Accessibility & contrast

On white

6.94
#7F2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7F2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2EBD
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2EBD#FFFFFF#000000##FFFFFF
##7F2EBD1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#745274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f2ebd;
/* rgb */ color: rgb(127, 46, 189);
/* oklch */ color: oklch(49.3% 0.210 305.6);
Tailwind
colors: {
  custom: {
    50: '#aa6fd2',
    500: '#7f2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #7f2ebd;
$custom-light: #aa6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2ebd",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 273.986,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49279,
    "c": 0.2103,
    "h": 305.6
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#7F2EBD
secondary
#9ECA7C
accent
#E44489
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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