#7F3FCA#7F3FCA

#7F3FCA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.204 H 300.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7F3FCA
RGBrgb(127, 63, 202)
HSLhsl(268, 57%, 52%)
HSVhsv(268, 69%, 79%)
CMYKcmyk(37.1%, 68.8%, 0%, 20.8%)
CIE-LABlab(41.74, 54.30, -61.76)
CIE-LCHlch(41.74, 82.24, 311.32°)
OKLaboklab(52.17% 0.1036 -0.176)
OKLCHoklch(52.17% 0.204 300.5)
XYZxyz(21.1880, 12.3311, 57.1295)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FCA #8ACA3F
analogous
#3F45CA #7F3FCA #C53FCA
triadic
#7F3FCA #CA7F3F #3FCA7F
tetradic
#7F3FCA #CA3F45 #8ACA3F #3FCAC5
square
#7F3FCA #CA3F45 #8ACA3F #3FCAC5
split-complementary
#7F3FCA #CAC53F #45CA3F
monochromatic
#441F70 #612CA0 #7F3FCA #9F6FD7 #BF9FE4

Accessibility & contrast

On white

6.06
#7F3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7F3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FCA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FCA#FFFFFF#000000##FFFFFF
##7F3FCA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#6E6080
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3fca;
/* rgb */ color: rgb(127, 63, 202);
/* oklch */ color: oklch(52.2% 0.204 300.5);
Tailwind
colors: {
  custom: {
    50: '#aa79db',
    500: '#7f3fca',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fca;
$custom-light: #aa79db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fca",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 267.626,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.20426,
    "h": 300.5
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#7F3FCA
secondary
#B5D194
accent
#E0489A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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