#7F3DCD#7F3DCD

#7F3DCD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.210 H 300.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7F3DCD
RGBrgb(127, 61, 205)
HSLhsl(268, 59%, 52%)
HSVhsv(268, 70%, 80%)
CMYKcmyk(38%, 70.2%, 0%, 19.6%)
CIE-LABlab(41.62, 55.99, -63.69)
CIE-LCHlch(41.62, 84.80, 311.32°)
OKLaboklab(52.16% 0.1052 -0.1817)
OKLCHoklch(52.16% 0.21 300.1)
XYZxyz(21.4379, 12.2571, 58.9822)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DCD #8BCD3D
analogous
#3D43CD #7F3DCD #C73DCD
triadic
#7F3DCD #CD7F3D #3DCD7F
tetradic
#7F3DCD #CD3D43 #8BCD3D #3DCDC7
square
#7F3DCD #CD3D43 #8BCD3D #3DCDC7
split-complementary
#7F3DCD #CDC73D #43CD3D
monochromatic
#441D72 #612AA3 #7F3DCD #9F6EDA #BF9EE6

Accessibility & contrast

On white

6.08
#7F3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7F3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DCD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DCD#FFFFFF#000000##FFFFFF
##7F3DCD1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#6D6081
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f3dcd;
/* rgb */ color: rgb(127, 61, 205);
/* oklch */ color: oklch(52.2% 0.210 300.1);
Tailwind
colors: {
  custom: {
    50: '#aa78dd',
    500: '#7f3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dcd;
$custom-light: #aa78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dcd",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 267.5,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.52158,
    "c": 0.20991,
    "h": 300.1
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#7F3DCD
secondary
#B6D293
accent
#E2469A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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