#7F3CCB#7F3CCB

#7F3CCB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.209 H 300.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7F3CCB
RGBrgb(127, 60, 203)
HSLhsl(268, 58%, 52%)
HSVhsv(268, 70%, 80%)
CMYKcmyk(37.4%, 70.4%, 0%, 20.4%)
CIE-LABlab(41.30, 55.97, -63.05)
CIE-LCHlch(41.30, 84.30, 311.59°)
OKLaboklab(51.89% 0.1065 -0.1798)
OKLCHoklch(51.89% 0.209 300.6)
XYZxyz(21.1451, 12.0554, 57.7012)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3CCB #88CB3C
analogous
#3C41CB #7F3CCB #C73CCB
triadic
#7F3CCB #CB7F3C #3CCB7F
tetradic
#7F3CCB #CB3C41 #88CB3C #3CCBC7
square
#7F3CCB #CB3C41 #88CB3C #3CCBC7
split-complementary
#7F3CCB #CBC73C #41CB3C
monochromatic
#441E6F #612A9F #7F3CCB #9F6CD8 #BE9DE5

Accessibility & contrast

On white

6.16
#7F3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7F3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3CCB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3CCB#FFFFFF#000000##FFFFFF
##7F3CCB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#6E5F7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3ccb;
/* rgb */ color: rgb(127, 60, 203);
/* oklch */ color: oklch(51.9% 0.209 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa77dc',
    500: '#7f3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ccb;
$custom-light: #aa77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ccb",
  "rgb": {
    "r": 127,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 268.112,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.20895,
    "h": 300.6
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#7F3CCB
secondary
#B3D192
accent
#E14799
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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