#7F3BCA#7F3BCA

#7F3BCA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.209 H 301.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7F3BCA
RGBrgb(127, 59, 202)
HSLhsl(269, 57%, 51%)
HSVhsv(269, 71%, 79%)
CMYKcmyk(37.1%, 70.8%, 0%, 20.8%)
CIE-LABlab(41.06, 56.19, -62.86)
CIE-LCHlch(41.06, 84.31, 311.79°)
OKLaboklab(51.69% 0.1076 -0.1792)
OKLCHoklch(51.69% 0.209 301)
XYZxyz(20.9744, 11.9041, 57.0584)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BCA #86CA3B
analogous
#3B3ECA #7F3BCA #C63BCA
triadic
#7F3BCA #CA7F3B #3BCA7F
tetradic
#7F3BCA #CA3B3E #86CA3B #3BCAC6
square
#7F3BCA #CA3B3E #86CA3B #3BCAC6
split-complementary
#7F3BCA #CAC63B #3ECA3B
monochromatic
#431E6D #612B9D #7F3BCA #9E6BD7 #BE9BE4

Accessibility & contrast

On white

6.21
#7F3BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7F3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BCA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BCA#FFFFFF#000000##FFFFFF
##7F3BCA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6F5E7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3bca;
/* rgb */ color: rgb(127, 59, 202);
/* oklch */ color: oklch(51.7% 0.209 301.0);
Tailwind
colors: {
  custom: {
    50: '#aa77db',
    500: '#7f3bca',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bca;
$custom-light: #aa77db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bca",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 268.531,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.20906,
    "h": 301
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#7F3BCA
secondary
#B2D091
accent
#E14798
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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