#7F2FD0#7F2FD0

#7F2FD0 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.228 H 300.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7F2FD0
RGBrgb(127, 47, 208)
HSLhsl(270, 63%, 50%)
HSVhsv(270, 77%, 82%)
CMYKcmyk(38.9%, 77.4%, 0%, 18.4%)
CIE-LABlab(39.75, 62.71, -68.48)
CIE-LCHlch(39.75, 92.85, 312.48°)
OKLaboklab(50.91% 0.117 -0.1957)
OKLCHoklch(50.91% 0.228 300.9)
XYZxyz(21.1513, 11.0990, 60.6902)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2FD0 #80D02F
analogous
#2F2FD0 #7F2FD0 #D02FD0
triadic
#7F2FD0 #D07F2F #2FD07F
tetradic
#7F2FD0 #D02F2F #80D02F #2FD0D0
square
#7F2FD0 #D02F2F #80D02F #2FD0D0
split-complementary
#7F2FD0 #D0D02F #2FD02F
monochromatic
#42186C #61249E #7F2FD0 #9E61DB #BC93E7

Accessibility & contrast

On white

6.52
#7F2FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7F2FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2FD0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2FD0#FFFFFF#000000##FFFFFF
##7F2FD01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#6D5A7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f2fd0;
/* rgb */ color: rgb(127, 47, 208);
/* oklch */ color: oklch(50.9% 0.228 300.9);
Tailwind
colors: {
  custom: {
    50: '#ab71df',
    500: '#7f2fd0',
    950: '#000000',
  },
}
SCSS
$custom: #7f2fd0;
$custom-light: #ab71df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2fd0",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 269.814,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.22795,
    "h": 300.9
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#7F2FD0
secondary
#AED189
accent
#E64294
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F2FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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