#7F3BCB#7F3BCB

#7F3BCB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.210 H 300.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7F3BCB
RGBrgb(127, 59, 203)
HSLhsl(268, 58%, 51%)
HSVhsv(268, 71%, 80%)
CMYKcmyk(37.4%, 70.9%, 0%, 20.4%)
CIE-LABlab(41.14, 56.43, -63.32)
CIE-LCHlch(41.14, 84.81, 311.71°)
OKLaboklab(51.77% 0.1075 -0.1806)
OKLCHoklch(51.77% 0.21 300.8)
XYZxyz(21.0932, 11.9516, 57.6839)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BCB #87CB3B
analogous
#3B3FCB #7F3BCB #C73BCB
triadic
#7F3BCB #CB7F3B #3BCB7F
tetradic
#7F3BCB #CB3B3F #87CB3B #3BCBC7
square
#7F3BCB #CB3B3F #87CB3B #3BCBC7
split-complementary
#7F3BCB #CBC73B #3FCB3B
monochromatic
#441D6E #612A9F #7F3BCB #9F6BD8 #BE9CE5

Accessibility & contrast

On white

6.19
#7F3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7F3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BCB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BCB#FFFFFF#000000##FFFFFF
##7F3BCB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#6E5E7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3bcb;
/* rgb */ color: rgb(127, 59, 203);
/* oklch */ color: oklch(51.8% 0.210 300.8);
Tailwind
colors: {
  custom: {
    50: '#aa77dc',
    500: '#7f3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bcb;
$custom-light: #aa77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bcb",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 268.333,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.21012,
    "h": 300.8
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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