#7F3DD2#7F3DD2

#7F3DD2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.215 H 299.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7F3DD2
RGBrgb(127, 61, 210)
HSLhsl(267, 62%, 53%)
HSVhsv(267, 71%, 82%)
CMYKcmyk(39.5%, 71%, 0%, 17.6%)
CIE-LABlab(42.00, 57.22, -65.95)
CIE-LCHlch(42.00, 87.31, 310.94°)
OKLaboklab(52.55% 0.1043 -0.1883)
OKLCHoklch(52.55% 0.215 299)
XYZxyz(22.0511, 12.5024, 62.2117)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DD2 #90D23D
analogous
#3D45D2 #7F3DD2 #C93DD2
triadic
#7F3DD2 #D27F3D #3DD27F
tetradic
#7F3DD2 #D23D45 #90D23D #3DD2C9
square
#7F3DD2 #D23D45 #90D23D #3DD2C9
split-complementary
#7F3DD2 #D2C93D #45D23D
monochromatic
#451C79 #6128AA #7F3DD2 #A06FDE #C1A0E9

Accessibility & contrast

On white

6.00
#7F3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7F3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DD2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DD2#FFFFFF#000000##FFFFFF
##7F3DD21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6B6284
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f3dd2;
/* rgb */ color: rgb(127, 61, 210);
/* oklch */ color: oklch(52.5% 0.215 299.0);
Tailwind
colors: {
  custom: {
    50: '#ab78e1',
    500: '#7f3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dd2;
$custom-light: #ab78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dd2",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 266.577,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52549,
    "c": 0.21525,
    "h": 299
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#7F3DD2
secondary
#B9D695
accent
#E5429D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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