#7E2CBF#7E2CBF

#7E2CBF is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.214 H 304.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7E2CBF
RGBrgb(126, 44, 191)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 77%, 75%)
CMYKcmyk(34%, 77%, 0%, 25.1%)
CIE-LABlab(37.84, 59.80, -61.69)
CIE-LCHlch(37.84, 85.92, 314.11°)
OKLaboklab(49.12% 0.1223 -0.1757)
OKLCHoklch(49.12% 0.214 304.8)
XYZxyz(18.9067, 9.9987, 50.2140)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2CBF #6DBF2C
analogous
#342CBF #7E2CBF #BF2CB6
triadic
#7E2CBF #BF7E2C #2CBF7E
tetradic
#7E2CBF #BF342C #6DBF2C #2CB6BF
square
#7E2CBF #BF342C #6DBF2C #2CB6BF
split-complementary
#7E2CBF #B6BF2C #2CBF34
monochromatic
#3C155C #5D218D #7E2CBF #9C51D7 #B883E2

Accessibility & contrast

On white

7.00
#7E2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7E2CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E2CBF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2CBF#FFFFFF#000000##FFFFFF
##7E2CBF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#725275
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7e2cbf;
/* rgb */ color: rgb(126, 44, 191);
/* oklch */ color: oklch(49.1% 0.214 304.8);
Tailwind
colors: {
  custom: {
    50: '#a96ed3',
    500: '#7e2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e2cbf;
$custom-light: #a96ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2cbf",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 273.469,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.21408,
    "h": 304.8
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#7E2CBF
secondary
#9FCC7B
accent
#E6428A
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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