#7F3BCD#7F3BCD

#7F3BCD is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.212 H 300.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7F3BCD
RGBrgb(127, 59, 205)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 71%, 80%)
CMYKcmyk(38%, 71.2%, 0%, 19.6%)
CIE-LABlab(41.29, 56.91, -64.23)
CIE-LCHlch(41.29, 85.81, 311.55°)
OKLaboklab(51.92% 0.1071 -0.1832)
OKLCHoklch(51.92% 0.212 300.3)
XYZxyz(21.3331, 12.0475, 58.9473)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BCD #89CD3B
analogous
#3B40CD #7F3BCD #C83BCD
triadic
#7F3BCD #CD7F3B #3BCD7F
tetradic
#7F3BCD #CD3B40 #89CD3B #3BCDC8
square
#7F3BCD #CD3B40 #89CD3B #3BCDC8
split-complementary
#7F3BCD #CDC83B #40CD3B
monochromatic
#441D71 #6129A2 #7F3BCD #9F6CD9 #BF9DE6

Accessibility & contrast

On white

6.16
#7F3BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7F3BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BCD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BCD#FFFFFF#000000##FFFFFF
##7F3BCD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#6D5F80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3bcd;
/* rgb */ color: rgb(127, 59, 205);
/* oklch */ color: oklch(51.9% 0.212 300.3);
Tailwind
colors: {
  custom: {
    50: '#aa77dd',
    500: '#7f3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bcd;
$custom-light: #aa77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bcd",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 267.945,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.21224,
    "h": 300.3
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#7F3BCD
secondary
#B4D292
accent
#E34599
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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