#7926BD#7926BD

#7926BD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.217 H 303.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7926BD
RGBrgb(121, 38, 189)
HSLhsl(273, 67%, 45%)
HSVhsv(273, 80%, 74%)
CMYKcmyk(36%, 79.9%, 0%, 25.9%)
CIE-LABlab(36.22, 60.75, -63.18)
CIE-LCHlch(36.22, 87.65, 313.88°)
OKLaboklab(47.8% 0.1205 -0.1802)
OKLCHoklch(47.8% 0.217 303.8)
XYZxyz(17.7614, 9.1253, 48.9599)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7926BD #6ABD26
analogous
#2D26BD #7926BD #BD26B6
triadic
#7926BD #BD7926 #26BD79
tetradic
#7926BD #BD2D26 #6ABD26 #26B6BD
square
#7926BD #BD2D26 #6ABD26 #26B6BD
split-complementary
#7926BD #B6BD26 #26BD2D
monochromatic
#381257 #581C8A #7926BD #9746DA #B479E4

Accessibility & contrast

On white

7.43
#7926BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7926BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7926BD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7926BD#FFFFFF#000000##FFFFFF
##7926BD1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#6B4F72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7926bd;
/* rgb */ color: rgb(121, 38, 189);
/* oklch */ color: oklch(47.8% 0.217 303.8);
Tailwind
colors: {
  custom: {
    50: '#a66bd2',
    500: '#7926bd',
    950: '#000000',
  },
}
SCSS
$custom: #7926bd;
$custom-light: #a66bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7926bd",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 272.98,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.21682,
    "h": 303.8
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#7926BD
secondary
#9BCC73
accent
#E93E8B
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7926BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7926BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva