#7826B1#7826B1

#7826B1 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.205 H 306.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7826B1
RGBrgb(120, 38, 177)
HSLhsl(275, 65%, 42%)
HSVhsv(275, 79%, 69%)
CMYKcmyk(32.2%, 78.5%, 0%, 30.6%)
CIE-LABlab(35.11, 57.90, -57.90)
CIE-LCHlch(35.11, 81.88, 315.00°)
OKLaboklab(46.69% 0.1223 -0.1647)
OKLCHoklch(46.69% 0.205 306.6)
XYZxyz(16.3729, 8.5538, 42.3750)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826B1 #5FB126
analogous
#3326B1 #7826B1 #B126A4
triadic
#7826B1 #B17826 #26B178
tetradic
#7826B1 #B13326 #5FB126 #26A4B1
square
#7826B1 #B13326 #5FB126 #26A4B1
split-complementary
#7826B1 #A4B126 #26B133
monochromatic
#34104C #561B7F #7826B1 #983FD6 #B371E0

Accessibility & contrast

On white

7.75
#7826B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7826B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826B1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826B1#FFFFFF#000000##FFFFFF
##7826B11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6E4A6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7826b1;
/* rgb */ color: rgb(120, 38, 177);
/* oklch */ color: oklch(46.7% 0.205 306.6);
Tailwind
colors: {
  custom: {
    50: '#a46ac9',
    500: '#7826b1',
    950: '#000000',
  },
}
SCSS
$custom: #7826b1;
$custom-light: #a46ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7826b1",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 275.396,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.20516,
    "h": 306.6
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#7826B1
secondary
#91C76B
accent
#E84085
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826B1

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

Preview Lab → · Contrast checker → · Palette generator →

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