#7826BC#7826BC

#7826BC is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.216 H 303.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7826BC
RGBrgb(120, 38, 188)
HSLhsl(273, 66%, 44%)
HSVhsv(273, 80%, 74%)
CMYKcmyk(36.2%, 79.8%, 0%, 26.3%)
CIE-LABlab(36.00, 60.37, -62.96)
CIE-LCHlch(36.00, 87.22, 313.80°)
OKLaboklab(47.59% 0.1194 -0.1796)
OKLCHoklch(47.59% 0.216 303.6)
XYZxyz(17.5138, 9.0102, 48.3837)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826BC #6ABC26
analogous
#2D26BC #7826BC #BC26B5
triadic
#7826BC #BC7826 #26BC78
tetradic
#7826BC #BC2D26 #6ABC26 #26B5BC
square
#7826BC #BC2D26 #6ABC26 #26B5BC
split-complementary
#7826BC #B5BC26 #26BC2D
monochromatic
#371156 #581C89 #7826BC #9746DA #B379E4

Accessibility & contrast

On white

7.49
#7826BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7826BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826BC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826BC#FFFFFF#000000##FFFFFF
##7826BC1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#6A4F72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7826bc;
/* rgb */ color: rgb(120, 38, 188);
/* oklch */ color: oklch(47.6% 0.216 303.6);
Tailwind
colors: {
  custom: {
    50: '#a56bd1',
    500: '#7826bc',
    950: '#000000',
  },
}
SCSS
$custom: #7826bc;
$custom-light: #a56bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7826bc",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 272.8,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47588,
    "c": 0.21567,
    "h": 303.6
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#7826BC
secondary
#9BCC72
accent
#E93F8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7826BC

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

Preview Lab → · Contrast checker → · Palette generator →

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