#7E3FCA#7E3FCA

#7E3FCA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.204 H 300.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7E3FCA
RGBrgb(126, 63, 202)
HSLhsl(267, 57%, 52%)
HSVhsv(267, 69%, 79%)
CMYKcmyk(37.6%, 68.8%, 0%, 20.8%)
CIE-LABlab(41.62, 54.11, -61.96)
CIE-LCHlch(41.62, 82.26, 311.13°)
OKLaboklab(52.06% 0.1022 -0.1766)
OKLCHoklch(52.06% 0.204 300.1)
XYZxyz(21.0397, 12.2547, 57.1226)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3FCA #8BCA3F
analogous
#3F46CA #7E3FCA #C43FCA
triadic
#7E3FCA #CA7E3F #3FCA7E
tetradic
#7E3FCA #CA3F46 #8BCA3F #3FCAC4
square
#7E3FCA #CA3F46 #8BCA3F #3FCAC4
split-complementary
#7E3FCA #CAC43F #46CA3F
monochromatic
#441F70 #602CA0 #7E3FCA #9E6FD7 #BE9FE4

Accessibility & contrast

On white

6.09
#7E3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7E3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E3FCA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3FCA#FFFFFF#000000##FFFFFF
##7E3FCA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#6D6080
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7e3fca;
/* rgb */ color: rgb(126, 63, 202);
/* oklch */ color: oklch(52.1% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#a979db',
    500: '#7e3fca',
    950: '#000000',
  },
}
SCSS
$custom: #7e3fca;
$custom-light: #a979db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3fca",
  "rgb": {
    "r": 126,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 267.194,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.2041,
    "h": 300.1
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#7E3FCA
secondary
#B5D194
accent
#E0489B
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7E3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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