#7F3BCE#7F3BCE

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

Color values

HEX#7F3BCE
RGBrgb(127, 59, 206)
HSLhsl(268, 60%, 52%)
HSVhsv(268, 71%, 81%)
CMYKcmyk(38.3%, 71.4%, 0%, 19.2%)
CIE-LABlab(41.37, 57.16, -64.68)
CIE-LCHlch(41.37, 86.32, 311.47°)
OKLaboklab(52% 0.1069 -0.1846)
OKLCHoklch(52% 0.213 300.1)
XYZxyz(21.4542, 12.0960, 59.5850)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BCE #8ACE3B
analogous
#3B41CE #7F3BCE #C83BCE
triadic
#7F3BCE #CE7F3B #3BCE7F
tetradic
#7F3BCE #CE3B41 #8ACE3B #3BCEC8
square
#7F3BCE #CE3B41 #8ACE3B #3BCEC8
split-complementary
#7F3BCE #CEC83B #41CE3B
monochromatic
#441D72 #6129A3 #7F3BCE #9F6CDA #BF9DE6

Accessibility & contrast

On white

6.14
#7F3BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7F3BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BCE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BCE#FFFFFF#000000##FFFFFF
##7F3BCE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#6D5F81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3bce;
/* rgb */ color: rgb(127, 59, 206);
/* oklch */ color: oklch(52.0% 0.213 300.1);
Tailwind
colors: {
  custom: {
    50: '#aa77de',
    500: '#7f3bce',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bce;
$custom-light: #aa77de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bce",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 267.755,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.2133,
    "h": 300.1
  },
  "luminance": 0.12096
}

Semantic roles & 50–950 ramp

primary
#7F3BCE
secondary
#B5D392
accent
#E3459A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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