#7E2EBF#7E2EBF

#7E2EBF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.212 H 304.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7E2EBF
RGBrgb(126, 46, 191)
HSLhsl(273, 61%, 46%)
HSVhsv(273, 76%, 75%)
CMYKcmyk(34%, 75.9%, 0%, 25.1%)
CIE-LABlab(38.11, 59.02, -61.25)
CIE-LCHlch(38.11, 85.06, 313.94°)
OKLaboklab(49.31% 0.1206 -0.1744)
OKLCHoklch(49.31% 0.212 304.6)
XYZxyz(18.9830, 10.1513, 50.2394)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2EBF #6FBF2E
analogous
#352EBF #7E2EBF #BF2EB8
triadic
#7E2EBF #BF7E2E #2EBF7E
tetradic
#7E2EBF #BF352E #6FBF2E #2EB8BF
square
#7E2EBF #BF352E #6FBF2E #2EB8BF
split-complementary
#7E2EBF #B8BF2E #2EBF35
monochromatic
#3D165C #5D228E #7E2EBF #9C54D6 #B886E2

Accessibility & contrast

On white

6.93
#7E2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E2EBF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2EBF#FFFFFF#000000##FFFFFF
##7E2EBF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#725375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e2ebf;
/* rgb */ color: rgb(126, 46, 191);
/* oklch */ color: oklch(49.3% 0.212 304.6);
Tailwind
colors: {
  custom: {
    50: '#a96fd3',
    500: '#7e2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7e2ebf;
$custom-light: #a96fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2ebf",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 273.103,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.21204,
    "h": 304.6
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

primary
#7E2EBF
secondary
#A0CB7E
accent
#E4448C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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