#7F3FCD#7F3FCD

#7F3FCD is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.208 H 299.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7F3FCD
RGBrgb(127, 63, 205)
HSLhsl(267, 59%, 53%)
HSVhsv(267, 69%, 80%)
CMYKcmyk(38%, 69.3%, 0%, 19.6%)
CIE-LABlab(41.96, 55.04, -63.14)
CIE-LCHlch(41.96, 83.76, 311.08°)
OKLaboklab(52.4% 0.1032 -0.1801)
OKLCHoklch(52.4% 0.208 299.8)
XYZxyz(21.5466, 12.4746, 59.0184)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FCD #8DCD3F
analogous
#3F46CD #7F3FCD #C63FCD
triadic
#7F3FCD #CD7F3F #3FCD7F
tetradic
#7F3FCD #CD3F46 #8DCD3F #3FCDC6
square
#7F3FCD #CD3F46 #8DCD3F #3FCDC6
split-complementary
#7F3FCD #CDC63F #46CD3F
monochromatic
#451E74 #612BA4 #7F3FCD #9F70DA #C0A0E6

Accessibility & contrast

On white

6.01
#7F3FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7F3FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FCD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FCD#FFFFFF#000000##FFFFFF
##7F3FCD1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#6D6181
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3fcd;
/* rgb */ color: rgb(127, 63, 205);
/* oklch */ color: oklch(52.4% 0.208 299.8);
Tailwind
colors: {
  custom: {
    50: '#aa79dd',
    500: '#7f3fcd',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fcd;
$custom-light: #aa79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fcd",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 205
  },
  "hsl": {
    "h": 267.042,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.20752,
    "h": 299.8
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#7F3FCD
secondary
#B7D395
accent
#E2469C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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