#7F3FD0#7F3FD0

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

Color values

HEX#7F3FD0
RGBrgb(127, 63, 208)
HSLhsl(266, 61%, 53%)
HSVhsv(266, 70%, 82%)
CMYKcmyk(38.9%, 69.7%, 0%, 18.4%)
CIE-LABlab(42.19, 55.78, -64.50)
CIE-LCHlch(42.19, 85.28, 310.85°)
OKLaboklab(52.63% 0.1027 -0.1841)
OKLCHoklch(52.63% 0.211 299.2)
XYZxyz(21.9122, 12.6208, 60.9439)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FD0 #90D03F
analogous
#3F47D0 #7F3FD0 #C73FD0
triadic
#7F3FD0 #D07F3F #3FD07F
tetradic
#7F3FD0 #D03F47 #90D03F #3FD0C7
square
#7F3FD0 #D03F47 #90D03F #3FD0C7
split-complementary
#7F3FD0 #D0C73F #47D03F
monochromatic
#451D77 #6129A9 #7F3FD0 #A070DC #C1A1E8

Accessibility & contrast

On white

5.96
#7F3FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7F3FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FD0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FD0#FFFFFF#000000##FFFFFF
##7F3FD01.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#6C6283
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f3fd0;
/* rgb */ color: rgb(127, 63, 208);
/* oklch */ color: oklch(52.6% 0.211 299.2);
Tailwind
colors: {
  custom: {
    50: '#aa79df',
    500: '#7f3fd0',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fd0;
$custom-light: #aa79df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fd0",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 208
  },
  "hsl": {
    "h": 266.483,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.21077,
    "h": 299.2
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#7F3FD0
secondary
#B9D596
accent
#E4449D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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