#7F3DD9#7F3DD9

#7F3DD9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.223 H 297.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7F3DD9
RGBrgb(127, 61, 217)
HSLhsl(265, 67%, 55%)
HSVhsv(265, 72%, 85%)
CMYKcmyk(41.5%, 71.9%, 0%, 14.9%)
CIE-LABlab(42.55, 58.95, -69.08)
CIE-LCHlch(42.55, 90.81, 310.47°)
OKLaboklab(53.11% 0.1029 -0.1975)
OKLCHoklch(53.11% 0.223 297.5)
XYZxyz(22.9423, 12.8589, 66.9055)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DD9 #97D93D
analogous
#3D49D9 #7F3DD9 #CD3DD9
triadic
#7F3DD9 #D97F3D #3DD97F
tetradic
#7F3DD9 #D93D49 #97D93D #3DD9CD
square
#7F3DD9 #D93D49 #97D93D #3DD9CD
split-complementary
#7F3DD9 #D9CD3D #49D93D
monochromatic
#461982 #6124B5 #7F3DD9 #A170E3 #C3A3ED

Accessibility & contrast

On white

5.88
#7F3DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7F3DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DD9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DD9#FFFFFF#000000##FFFFFF
##7F3DD91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#686587
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f3dd9;
/* rgb */ color: rgb(127, 61, 217);
/* oklch */ color: oklch(53.1% 0.223 297.5);
Tailwind
colors: {
  custom: {
    50: '#ab78e6',
    500: '#7f3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dd9;
$custom-light: #ab78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dd9",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 265.385,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.22272,
    "h": 297.5
  },
  "luminance": 0.12859
}

Semantic roles & 50–950 ramp

primary
#7F3DD9
secondary
#BEDA98
accent
#EA3EA1
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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