#7826BD#7826BD

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

Color values

HEX#7826BD
RGBrgb(120, 38, 189)
HSLhsl(273, 67%, 45%)
HSVhsv(273, 80%, 74%)
CMYKcmyk(36.5%, 79.9%, 0%, 25.9%)
CIE-LABlab(36.09, 60.60, -63.41)
CIE-LCHlch(36.09, 87.71, 313.70°)
OKLaboklab(47.67% 0.1191 -0.1809)
OKLCHoklch(47.67% 0.217 303.4)
XYZxyz(17.6220, 9.0534, 48.9534)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826BD #6BBD26
analogous
#2D26BD #7826BD #BD26B7
triadic
#7826BD #BD7826 #26BD78
tetradic
#7826BD #BD2D26 #6BBD26 #26B7BD
square
#7826BD #BD2D26 #6BBD26 #26B7BD
split-complementary
#7826BD #B7BD26 #26BD2D
monochromatic
#371257 #581C8A #7826BD #9646DA #B379E4

Accessibility & contrast

On white

7.47
#7826BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7826BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826BD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826BD#FFFFFF#000000##FFFFFF
##7826BD1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7826bd;
/* rgb */ color: rgb(120, 38, 189);
/* oklch */ color: oklch(47.7% 0.217 303.4);
Tailwind
colors: {
  custom: {
    50: '#a56bd2',
    500: '#7826bd',
    950: '#000000',
  },
}
SCSS
$custom: #7826bd;
$custom-light: #a56bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7826bd",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 272.583,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.21663,
    "h": 303.4
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#7826BD
secondary
#9CCC73
accent
#E93E8D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7826BD

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

Preview Lab → · Contrast checker → · Palette generator →

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