#7F2EBF#7F2EBF

#7F2EBF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.212 H 305.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7F2EBF
RGBrgb(127, 46, 191)
HSLhsl(274, 61%, 46%)
HSVhsv(274, 76%, 75%)
CMYKcmyk(33.5%, 75.9%, 0%, 25.1%)
CIE-LABlab(38.25, 59.20, -61.02)
CIE-LCHlch(38.25, 85.02, 314.13°)
OKLaboklab(49.44% 0.1219 -0.1737)
OKLCHoklch(49.44% 0.212 305.1)
XYZxyz(19.1312, 10.2277, 50.2464)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2EBF #6EBF2E
analogous
#372EBF #7F2EBF #BF2EB7
triadic
#7F2EBF #BF7F2E #2EBF7F
tetradic
#7F2EBF #BF372E #6EBF2E #2EB7BF
square
#7F2EBF #BF372E #6EBF2E #2EB7BF
split-complementary
#7F2EBF #B7BF2E #2EBF37
monochromatic
#3D165C #5E228E #7F2EBF #9D54D6 #B986E2

Accessibility & contrast

On white

6.90
#7F2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7F2EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2EBF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2EBF#FFFFFF#000000##FFFFFF
##7F2EBF1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#735375
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f2ebf;
/* rgb */ color: rgb(127, 46, 191);
/* oklch */ color: oklch(49.4% 0.212 305.1);
Tailwind
colors: {
  custom: {
    50: '#aa6fd3',
    500: '#7f2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7f2ebf;
$custom-light: #aa6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2ebf",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 273.517,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49437,
    "c": 0.21226,
    "h": 305.1
  },
  "luminance": 0.10228
}

Semantic roles & 50–950 ramp

primary
#7F2EBF
secondary
#A0CB7E
accent
#E4448A
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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