#7F2CBF#7F2CBF

#7F2CBF is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.214 H 305.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7F2CBF
RGBrgb(127, 44, 191)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 77%, 75%)
CMYKcmyk(33.5%, 77%, 0%, 25.1%)
CIE-LABlab(37.98, 59.98, -61.46)
CIE-LCHlch(37.98, 85.88, 314.30°)
OKLaboklab(49.25% 0.1237 -0.175)
OKLCHoklch(49.25% 0.214 305.2)
XYZxyz(19.0549, 10.0751, 50.2210)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2CBF #6CBF2C
analogous
#362CBF #7F2CBF #BF2CB5
triadic
#7F2CBF #BF7F2C #2CBF7F
tetradic
#7F2CBF #BF362C #6CBF2C #2CB5BF
square
#7F2CBF #BF362C #6CBF2C #2CB5BF
split-complementary
#7F2CBF #B5BF2C #2CBF36
monochromatic
#3D155C #5E218D #7F2CBF #9D51D7 #B983E2

Accessibility & contrast

On white

6.97
#7F2CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7F2CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2CBF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2CBF#FFFFFF#000000##FFFFFF
##7F2CBF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#735275
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f2cbf;
/* rgb */ color: rgb(127, 44, 191);
/* oklch */ color: oklch(49.2% 0.214 305.2);
Tailwind
colors: {
  custom: {
    50: '#aa6ed3',
    500: '#7f2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f2cbf;
$custom-light: #aa6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2cbf",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 273.878,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49246,
    "c": 0.21431,
    "h": 305.2
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#7F2CBF
secondary
#9ECC7B
accent
#E64289
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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