#7F3FCF#7F3FCF

#7F3FCF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.210 H 299.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7F3FCF
RGBrgb(127, 63, 207)
HSLhsl(267, 60%, 53%)
HSVhsv(267, 70%, 81%)
CMYKcmyk(38.6%, 69.6%, 0%, 18.8%)
CIE-LABlab(42.11, 55.54, -64.05)
CIE-LCHlch(42.11, 84.77, 310.93°)
OKLaboklab(52.55% 0.1028 -0.1827)
OKLCHoklch(52.55% 0.21 299.4)
XYZxyz(21.7896, 12.5718, 60.2980)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FCF #8FCF3F
analogous
#3F47CF #7F3FCF #C73FCF
triadic
#7F3FCF #CF7F3F #3FCF7F
tetradic
#7F3FCF #CF3F47 #8FCF3F #3FCFC7
square
#7F3FCF #CF3F47 #8FCF3F #3FCFC7
split-complementary
#7F3FCF #CFC73F #47CF3F
monochromatic
#451E76 #612AA7 #7F3FCF #A070DB #C0A1E7

Accessibility & contrast

On white

5.98
#7F3FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7F3FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FCF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FCF#FFFFFF#000000##FFFFFF
##7F3FCF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#6C6282
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3fcf;
/* rgb */ color: rgb(127, 63, 207);
/* oklch */ color: oklch(52.6% 0.210 299.4);
Tailwind
colors: {
  custom: {
    50: '#aa79df',
    500: '#7f3fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fcf;
$custom-light: #aa79df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fcf",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 266.667,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52553,
    "c": 0.20969,
    "h": 299.4
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#7F3FCF
secondary
#B8D496
accent
#E3459D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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