#7E3FD0#7E3FD0

#7E3FD0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.211 H 298.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7E3FD0
RGBrgb(126, 63, 208)
HSLhsl(266, 61%, 53%)
HSVhsv(266, 70%, 82%)
CMYKcmyk(39.4%, 69.7%, 0%, 18.4%)
CIE-LABlab(42.07, 55.60, -64.70)
CIE-LCHlch(42.07, 85.31, 310.67°)
OKLaboklab(52.52% 0.1013 -0.1847)
OKLCHoklch(52.52% 0.211 298.7)
XYZxyz(21.7640, 12.5444, 60.9369)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FD0 #91D03F
analogous
#3F48D0 #7E3FD0 #C63FD0
triadic
#7E3FD0 #D07E3F #3FD07E
tetradic
#7E3FD0 #D03F48 #91D03F #3FD0C6
square
#7E3FD0 #D03F48 #91D03F #3FD0C6
split-complementary
#7E3FD0 #D0C63F #48D03F
monochromatic
#441D77 #6129A9 #7E3FD0 #9F70DC #C0A1E8

Accessibility & contrast

On white

5.98
#7E3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7E3FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FD0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FD0#FFFFFF#000000##FFFFFF
##7E3FD01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#6A6283
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7e3fd0;
/* rgb */ color: rgb(126, 63, 208);
/* oklch */ color: oklch(52.5% 0.211 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa79df',
    500: '#7e3fd0',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fd0;
$custom-light: #aa79df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fd0",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 266.069,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.21063,
    "h": 298.7
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#7E3FD0
secondary
#B9D596
accent
#E4449E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7E3FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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