#7F3FCB#7F3FCB

#7F3FCB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.205 H 300.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7F3FCB
RGBrgb(127, 63, 203)
HSLhsl(267, 57%, 52%)
HSVhsv(267, 69%, 80%)
CMYKcmyk(37.4%, 69%, 0%, 20.4%)
CIE-LABlab(41.81, 54.55, -62.22)
CIE-LCHlch(41.81, 82.75, 311.24°)
OKLaboklab(52.25% 0.1035 -0.1774)
OKLCHoklch(52.25% 0.205 300.3)
XYZxyz(21.3067, 12.3787, 57.7551)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FCB #8BCB3F
analogous
#3F45CB #7F3FCB #C53FCB
triadic
#7F3FCB #CB7F3F #3FCB7F
tetradic
#7F3FCB #CB3F45 #8BCB3F #3FCBC5
square
#7F3FCB #CB3F45 #8BCB3F #3FCBC5
split-complementary
#7F3FCB #CBC53F #45CB3F
monochromatic
#441F71 #612CA1 #7F3FCB #9F6FD8 #BF9FE5

Accessibility & contrast

On white

6.04
#7F3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7F3FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FCB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FCB#FFFFFF#000000##FFFFFF
##7F3FCB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#6E6080
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3fcb;
/* rgb */ color: rgb(127, 63, 203);
/* oklch */ color: oklch(52.2% 0.205 300.3);
Tailwind
colors: {
  custom: {
    50: '#aa79dc',
    500: '#7f3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fcb;
$custom-light: #aa79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fcb",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 267.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52246,
    "c": 0.20535,
    "h": 300.3
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#7F3FCB
secondary
#B6D194
accent
#E1479A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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