#7F3CE3#7F3CE3

#7F3CE3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.234 H 295.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7F3CE3
RGBrgb(127, 60, 227)
HSLhsl(264, 75%, 56%)
HSVhsv(264, 74%, 89%)
CMYKcmyk(44.1%, 73.6%, 0%, 11%)
CIE-LABlab(43.20, 61.88, -73.74)
CIE-LCHlch(43.20, 96.26, 310.00°)
OKLaboklab(53.81% 0.1016 -0.2112)
OKLCHoklch(53.81% 0.234 295.7)
XYZxyz(24.2297, 13.2892, 73.9466)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CE3 #A0E33C
analogous
#3C4DE3 #7F3CE3 #D33CE3
triadic
#7F3CE3 #E37F3C #3CE37F
tetradic
#7F3CE3 #E33C4D #A0E33C #3CE3D3
square
#7F3CE3 #E33C4D #A0E33C #3CE3D3
split-complementary
#7F3CE3 #E3D33C #4DE33C
monochromatic
#461590 #601CC5 #7F3CE3 #A272EB #C5A7F2

Accessibility & contrast

On white

5.74
#7F3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7F3CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CE3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CE3#FFFFFF#000000##FFFFFF
##7F3CE31.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#63688D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f3ce3;
/* rgb */ color: rgb(127, 60, 227);
/* oklch */ color: oklch(53.8% 0.234 295.7);
Tailwind
colors: {
  custom: {
    50: '#ac78ed',
    500: '#7f3ce3',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ce3;
$custom-light: #ac78ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ce3",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 264.072,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53811,
    "c": 0.23434,
    "h": 295.7
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#7F3CE3
secondary
#C4E09B
accent
#F236A6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F3CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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