#7F3FD2#7F3FD2

#7F3FD2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.213 H 298.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7F3FD2
RGBrgb(127, 63, 210)
HSLhsl(266, 62%, 54%)
HSVhsv(266, 70%, 82%)
CMYKcmyk(39.5%, 70%, 0%, 17.6%)
CIE-LABlab(42.34, 56.28, -65.41)
CIE-LCHlch(42.34, 86.29, 310.71°)
OKLaboklab(52.79% 0.1023 -0.1867)
OKLCHoklch(52.79% 0.213 298.7)
XYZxyz(22.1598, 12.7199, 62.2480)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3FD2 #92D23F
analogous
#3F48D2 #7F3FD2 #C83FD2
triadic
#7F3FD2 #D27F3F #3FD27F
tetradic
#7F3FD2 #D23F48 #92D23F #3FD2C8
square
#7F3FD2 #D23F48 #92D23F #3FD2C8
split-complementary
#7F3FD2 #D2C83F #48D23F
monochromatic
#451D7A #6128AC #7F3FD2 #A071DE #C1A2E9

Accessibility & contrast

On white

5.93
#7F3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7F3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3FD2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3FD2#FFFFFF#000000##FFFFFF
##7F3FD21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#6B6384
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f3fd2;
/* rgb */ color: rgb(127, 63, 210);
/* oklch */ color: oklch(52.8% 0.213 298.7);
Tailwind
colors: {
  custom: {
    50: '#ab79e1',
    500: '#7f3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7f3fd2;
$custom-light: #ab79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3fd2",
  "rgb": {
    "r": 127,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 266.122,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.21293,
    "h": 298.7
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#7F3FD2
secondary
#BAD697
accent
#E5439E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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