#7F30CE#7F30CE

#7F30CE is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.225 H 301.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7F30CE
RGBrgb(127, 48, 206)
HSLhsl(270, 62%, 50%)
HSVhsv(270, 77%, 81%)
CMYKcmyk(38.3%, 76.7%, 0%, 19.2%)
CIE-LABlab(39.72, 61.85, -67.37)
CIE-LCHlch(39.72, 91.46, 312.56°)
OKLaboklab(50.84% 0.1167 -0.1924)
OKLCHoklch(50.84% 0.225 301.2)
XYZxyz(20.9472, 11.0820, 59.4160)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F30CE #7FCE30
analogous
#3030CE #7F30CE #CE30CE
triadic
#7F30CE #CE7F30 #30CE7F
tetradic
#7F30CE #CE3030 #7FCE30 #30CECE
square
#7F30CE #CE3030 #7FCE30 #30CECE
split-complementary
#7F30CE #CECE30 #30CE30
monochromatic
#42196B #60249C #7F30CE #9E61DA #BC93E6

Accessibility & contrast

On white

6.53
#7F30CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F30CE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F30CE#FFFFFF#000000##FFFFFF
##7F30CE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#6D5A7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7f30ce;
/* rgb */ color: rgb(127, 48, 206);
/* oklch */ color: oklch(50.8% 0.225 301.2);
Tailwind
colors: {
  custom: {
    50: '#ab71de',
    500: '#7f30ce',
    950: '#000000',
  },
}
SCSS
$custom: #7f30ce;
$custom-light: #ab71de;
$custom-dark: #000000;
JSON
{
  "hex": "#7f30ce",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 270,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.22501,
    "h": 301.2
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#7F30CE
secondary
#ADD189
accent
#E54394
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7F30CE

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

Preview Lab → · Contrast checker → · Palette generator →

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