#7F3BC8#7F3BC8

#7F3BC8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.207 H 301.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7F3BC8
RGBrgb(127, 59, 200)
HSLhsl(269, 56%, 51%)
HSVhsv(269, 71%, 78%)
CMYKcmyk(36.5%, 70.5%, 0%, 21.6%)
CIE-LABlab(40.91, 55.70, -61.94)
CIE-LCHlch(40.91, 83.30, 311.96°)
OKLaboklab(51.54% 0.108 -0.1765)
OKLCHoklch(51.54% 0.207 301.5)
XYZxyz(20.7392, 11.8100, 55.8193)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BC8 #84C83B
analogous
#3B3DC8 #7F3BC8 #C53BC8
triadic
#7F3BC8 #C87F3B #3BC87F
tetradic
#7F3BC8 #C83B3D #84C83B #3BC8C5
square
#7F3BC8 #C83B3D #84C83B #3BC8C5
split-complementary
#7F3BC8 #C8C53B #3DC83B
monochromatic
#431E6B #612B9A #7F3BC8 #9E6BD5 #BD9BE3

Accessibility & contrast

On white

6.25
#7F3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7F3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BC8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BC8#FFFFFF#000000##FFFFFF
##7F3BC81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#6F5D7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3bc8;
/* rgb */ color: rgb(127, 59, 200);
/* oklch */ color: oklch(51.5% 0.207 301.5);
Tailwind
colors: {
  custom: {
    50: '#aa76da',
    500: '#7f3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bc8;
$custom-light: #aa76da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bc8",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 268.936,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.20694,
    "h": 301.5
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#7F3BC8
secondary
#B1CF90
accent
#DF4897
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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