#7F30D0#7F30D0

#7F30D0 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.227 H 300.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7F30D0
RGBrgb(127, 48, 208)
HSLhsl(270, 63%, 50%)
HSVhsv(270, 77%, 82%)
CMYKcmyk(38.9%, 76.9%, 0%, 18.4%)
CIE-LABlab(39.88, 62.32, -68.26)
CIE-LCHlch(39.88, 92.43, 312.40°)
OKLaboklab(51% 0.1162 -0.195)
OKLCHoklch(51% 0.227 300.8)
XYZxyz(21.1917, 11.1798, 60.7037)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30D0 #81D030
analogous
#3031D0 #7F30D0 #CF30D0
triadic
#7F30D0 #D07F30 #30D07F
tetradic
#7F30D0 #D03031 #81D030 #30D0CF
square
#7F30D0 #D03031 #81D030 #30D0CF
split-complementary
#7F30D0 #D0CF30 #31D030
monochromatic
#42196D #61249F #7F30D0 #9E62DB #BD94E7

Accessibility & contrast

On white

6.49
#7F30D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7F30D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F30D0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30D0#FFFFFF#000000##FFFFFF
##7F30D01.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f30d0;
/* rgb */ color: rgb(127, 48, 208);
/* oklch */ color: oklch(51.0% 0.227 300.8);
Tailwind
colors: {
  custom: {
    50: '#ab71df',
    500: '#7f30d0',
    950: '#000000',
  },
}
SCSS
$custom: #7f30d0;
$custom-light: #ab71df;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30d0",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 269.625,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.22699,
    "h": 300.8
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#7F30D0
secondary
#AED28A
accent
#E64295
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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