#7F3BDB#7F3BDB

#7F3BDB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.227 H 297.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F3BDB
RGBrgb(127, 59, 219)
HSLhsl(266, 69%, 55%)
HSVhsv(266, 73%, 86%)
CMYKcmyk(42%, 73.1%, 0%, 14.1%)
CIE-LABlab(42.39, 60.34, -70.49)
CIE-LCHlch(42.39, 92.79, 310.57°)
OKLaboklab(53.04% 0.1042 -0.2016)
OKLCHoklch(53.04% 0.227 297.3)
XYZxyz(23.0992, 12.7540, 68.2489)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3BDB #97DB3B
analogous
#3B47DB #7F3BDB #CF3BDB
triadic
#7F3BDB #DB7F3B #3BDB7F
tetradic
#7F3BDB #DB3B47 #97DB3B #3BDBCF
square
#7F3BDB #DB3B47 #97DB3B #3BDBCF
split-complementary
#7F3BDB #DBCF3B #47DB3B
monochromatic
#461883 #6122B7 #7F3BDB #A16FE4 #C3A2EE

Accessibility & contrast

On white

5.91
#7F3BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7F3BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3BDB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3BDB#FFFFFF#000000##FFFFFF
##7F3BDB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#676488
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f3bdb;
/* rgb */ color: rgb(127, 59, 219);
/* oklch */ color: oklch(53.0% 0.227 297.3);
Tailwind
colors: {
  custom: {
    50: '#ac77e7',
    500: '#7f3bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7f3bdb;
$custom-light: #ac77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3bdb",
  "rgb": {
    "r": 127,
    "g": 59,
    "b": 219
  },
  "hsl": {
    "h": 265.5,
    "s": 68.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53042,
    "c": 0.22699,
    "h": 297.3
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#7F3BDB
secondary
#BEDB97
accent
#EC3CA1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7F3BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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