#7F3CD3#7F3CD3

#7F3CD3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.217 H 298.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7F3CD3
RGBrgb(127, 60, 211)
HSLhsl(267, 63%, 53%)
HSVhsv(267, 72%, 83%)
CMYKcmyk(39.8%, 71.6%, 0%, 17.3%)
CIE-LABlab(41.92, 57.92, -66.67)
CIE-LCHlch(41.92, 88.32, 310.98°)
OKLaboklab(52.51% 0.105 -0.1904)
OKLCHoklch(52.51% 0.217 298.9)
XYZxyz(22.1231, 12.4466, 62.8523)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CD3 #90D33C
analogous
#3C44D3 #7F3CD3 #CB3CD3
triadic
#7F3CD3 #D37F3C #3CD37F
tetradic
#7F3CD3 #D33C44 #90D33C #3CD3CB
square
#7F3CD3 #D33C44 #90D33C #3CD3CB
split-complementary
#7F3CD3 #D3CB3C #44D33C
monochromatic
#451B79 #6127AB #7F3CD3 #A06EDE #C1A0EA

Accessibility & contrast

On white

6.02
#7F3CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7F3CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CD3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CD3#FFFFFF#000000##FFFFFF
##7F3CD31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#6B6284
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3cd3;
/* rgb */ color: rgb(127, 60, 211);
/* oklch */ color: oklch(52.5% 0.217 298.9);
Tailwind
colors: {
  custom: {
    50: '#ab77e2',
    500: '#7f3cd3',
    950: '#000000',
  },
}
SCSS
$custom: #7f3cd3;
$custom-light: #ab77e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3cd3",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 266.623,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.21746,
    "h": 298.9
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#7F3CD3
secondary
#B9D695
accent
#E6429D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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