#7F3DCA#7F3DCA

#7F3DCA is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.207 H 300.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7F3DCA
RGBrgb(127, 61, 202)
HSLhsl(268, 57%, 52%)
HSVhsv(268, 70%, 79%)
CMYKcmyk(37.1%, 69.8%, 0%, 20.8%)
CIE-LABlab(41.40, 55.25, -62.32)
CIE-LCHlch(41.40, 83.29, 311.56°)
OKLaboklab(51.93% 0.1057 -0.1776)
OKLCHoklch(51.93% 0.207 300.7)
XYZxyz(21.0792, 12.1136, 57.0933)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DCA #88CA3D
analogous
#3D42CA #7F3DCA #C63DCA
triadic
#7F3DCA #CA7F3D #3DCA7F
tetradic
#7F3DCA #CA3D42 #88CA3D #3DCAC6
square
#7F3DCA #CA3D42 #88CA3D #3DCAC6
split-complementary
#7F3DCA #CAC63D #42CA3D
monochromatic
#441E6E #612B9F #7F3DCA #9F6DD7 #BE9DE4

Accessibility & contrast

On white

6.14
#7F3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7F3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DCA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DCA#FFFFFF#000000##FFFFFF
##7F3DCA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f3dca;
/* rgb */ color: rgb(127, 61, 202);
/* oklch */ color: oklch(51.9% 0.207 300.7);
Tailwind
colors: {
  custom: {
    50: '#aa78db',
    500: '#7f3dca',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dca;
$custom-light: #aa78db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dca",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 268.085,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51927,
    "c": 0.20669,
    "h": 300.7
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#7F3DCA
secondary
#B3D092
accent
#E04799
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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