#7F3ECA#7F3ECA

#7F3ECA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.205 H 300.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7F3ECA
RGBrgb(127, 62, 202)
HSLhsl(268, 57%, 52%)
HSVhsv(268, 69%, 79%)
CMYKcmyk(37.1%, 69.3%, 0%, 20.8%)
CIE-LABlab(41.57, 54.78, -62.04)
CIE-LCHlch(41.57, 82.77, 311.44°)
OKLaboklab(52.05% 0.1047 -0.1768)
OKLCHoklch(52.05% 0.205 300.6)
XYZxyz(21.1331, 12.2214, 57.1112)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ECA #89CA3E
analogous
#3E43CA #7F3ECA #C53ECA
triadic
#7F3ECA #CA7F3E #3ECA7F
tetradic
#7F3ECA #CA3E43 #89CA3E #3ECAC5
square
#7F3ECA #CA3E43 #89CA3E #3ECAC5
split-complementary
#7F3ECA #CAC53E #43CA3E
monochromatic
#441F6F #612C9F #7F3ECA #9F6ED7 #BF9EE4

Accessibility & contrast

On white

6.10
#7F3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7F3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ECA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ECA#FFFFFF#000000##FFFFFF
##7F3ECA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f3eca;
/* rgb */ color: rgb(127, 62, 202);
/* oklch */ color: oklch(52.0% 0.205 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa78db',
    500: '#7f3eca',
    950: '#000000',
  },
}
SCSS
$custom: #7f3eca;
$custom-light: #aa78db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3eca",
  "rgb": {
    "r": 127,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 267.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.20548,
    "h": 300.6
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#7F3ECA
secondary
#B4D193
accent
#E04899
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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