#7E3BCF#7E3BCF

#7E3BCF is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.214 H 299.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7E3BCF
RGBrgb(126, 59, 207)
HSLhsl(267, 61%, 52%)
HSVhsv(267, 71%, 81%)
CMYKcmyk(39.1%, 71.5%, 0%, 18.8%)
CIE-LABlab(41.32, 57.22, -65.33)
CIE-LCHlch(41.32, 86.85, 311.21°)
OKLaboklab(51.97% 0.1053 -0.1865)
OKLCHoklch(51.97% 0.214 299.5)
XYZxyz(21.4278, 12.0683, 60.2199)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3BCF #8CCF3B
analogous
#3B42CF #7E3BCF #C83BCF
triadic
#7E3BCF #CF7E3B #3BCF7E
tetradic
#7E3BCF #CF3B42 #8CCF3B #3BCFC8
square
#7E3BCF #CF3B42 #8CCF3B #3BCFC8
split-complementary
#7E3BCF #CFC83B #42CF3B
monochromatic
#441C73 #6128A5 #7E3BCF #9E6CDB #BF9DE7

Accessibility & contrast

On white

6.15
#7E3BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7E3BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3BCF
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3BCF#FFFFFF#000000##FFFFFF
##7E3BCF1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#6B6081
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7e3bcf;
/* rgb */ color: rgb(126, 59, 207);
/* oklch */ color: oklch(52.0% 0.214 299.5);
Tailwind
colors: {
  custom: {
    50: '#aa77df',
    500: '#7e3bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7e3bcf;
$custom-light: #aa77df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3bcf",
  "rgb": {
    "r": 126,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 267.162,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.21421,
    "h": 299.5
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#7E3BCF
secondary
#B6D393
accent
#E4449B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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