#7F2DBF#7F2DBF

#7F2DBF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.213 H 305.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7F2DBF
RGBrgb(127, 45, 191)
HSLhsl(274, 62%, 46%)
HSVhsv(274, 76%, 75%)
CMYKcmyk(33.5%, 76.4%, 0%, 25.1%)
CIE-LABlab(38.11, 59.59, -61.24)
CIE-LCHlch(38.11, 85.45, 314.22°)
OKLaboklab(49.34% 0.1228 -0.1744)
OKLCHoklch(49.34% 0.213 305.2)
XYZxyz(19.0926, 10.1505, 50.2335)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2DBF #6DBF2D
analogous
#362DBF #7F2DBF #BF2DB6
triadic
#7F2DBF #BF7F2D #2DBF7F
tetradic
#7F2DBF #BF362D #6DBF2D #2DB6BF
square
#7F2DBF #BF362D #6DBF2D #2DB6BF
split-complementary
#7F2DBF #B6BF2D #2DBF36
monochromatic
#3D165C #5E218D #7F2DBF #9D53D6 #B984E2

Accessibility & contrast

On white

6.93
#7F2DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7F2DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F2DBF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2DBF#FFFFFF#000000##FFFFFF
##7F2DBF1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2dbf;
/* rgb */ color: rgb(127, 45, 191);
/* oklch */ color: oklch(49.3% 0.213 305.2);
Tailwind
colors: {
  custom: {
    50: '#aa6fd3',
    500: '#7f2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f2dbf;
$custom-light: #aa6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2dbf",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 273.699,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.21329,
    "h": 305.2
  },
  "luminance": 0.1015
}

Semantic roles & 50–950 ramp

primary
#7F2DBF
secondary
#9FCB7C
accent
#E5438A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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