#7F3FC8#7F3FC8

#7F3FC8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.202 H 301.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7F3FC8
RGBrgb(127, 63, 200)
HSLhsl(268, 55%, 52%)
HSVhsv(268, 69%, 78%)
CMYKcmyk(36.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(41.59, 53.81, -60.84)
CIE-LCHlch(41.59, 81.22, 311.49°)
OKLaboklab(52.02% 0.1039 -0.1733)
OKLCHoklch(52.02% 0.202 301)
XYZxyz(20.9527, 12.2370, 55.8905)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FC8 #88C83F
analogous
#3F44C8 #7F3FC8 #C43FC8
triadic
#7F3FC8 #C87F3F #3FC87F
tetradic
#7F3FC8 #C83F44 #88C83F #3FC8C4
square
#7F3FC8 #C83F44 #88C83F #3FC8C4
split-complementary
#7F3FC8 #C8C43F #44C83F
monochromatic
#441F6D #612D9D #7F3FC8 #9F6FD6 #BE9EE3

Accessibility & contrast

On white

6.09
#7F3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7F3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FC8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FC8#FFFFFF#000000##FFFFFF
##7F3FC81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#6F5F7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3fc8;
/* rgb */ color: rgb(127, 63, 200);
/* oklch */ color: oklch(52.0% 0.202 301.0);
Tailwind
colors: {
  custom: {
    50: '#aa79da',
    500: '#7f3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fc8;
$custom-light: #aa79da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fc8",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 268.029,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.20208,
    "h": 301
  },
  "luminance": 0.12237
}

Semantic roles & 50–950 ramp

primary
#7F3FC8
secondary
#B3D093
accent
#DF4999
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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