#7F3DC9#7F3DC9

#7F3DC9 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.206 H 301.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7F3DC9
RGBrgb(127, 61, 201)
HSLhsl(268, 56%, 51%)
HSVhsv(268, 70%, 79%)
CMYKcmyk(36.8%, 69.7%, 0%, 21.2%)
CIE-LABlab(41.32, 55.01, -61.86)
CIE-LCHlch(41.32, 82.78, 311.65°)
OKLaboklab(51.85% 0.1058 -0.1763)
OKLCHoklch(51.85% 0.206 301)
XYZxyz(20.9612, 12.0664, 56.4717)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DC9 #87C93D
analogous
#3D41C9 #7F3DC9 #C53DC9
triadic
#7F3DC9 #C97F3D #3DC97F
tetradic
#7F3DC9 #C93D41 #87C93D #3DC9C5
square
#7F3DC9 #C93D41 #87C93D #3DC9C5
split-complementary
#7F3DC9 #C9C53D #41C93D
monochromatic
#441E6D #612C9D #7F3DC9 #9F6DD6 #BE9DE4

Accessibility & contrast

On white

6.15
#7F3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7F3DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DC9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DC9#FFFFFF#000000##FFFFFF
##7F3DC91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#6F5E7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3dc9;
/* rgb */ color: rgb(127, 61, 201);
/* oklch */ color: oklch(51.8% 0.206 301.0);
Tailwind
colors: {
  custom: {
    50: '#aa78da',
    500: '#7f3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dc9;
$custom-light: #aa78da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dc9",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 268.286,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.20561,
    "h": 301
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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