#7826BE#7826BE

#7826BE is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.218 H 303.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7826BE
RGBrgb(120, 38, 190)
HSLhsl(272, 67%, 45%)
HSVhsv(272, 80%, 75%)
CMYKcmyk(36.8%, 80%, 0%, 25.5%)
CIE-LABlab(36.17, 60.82, -63.86)
CIE-LCHlch(36.17, 88.19, 313.60°)
OKLaboklab(47.76% 0.1188 -0.1823)
OKLCHoklch(47.76% 0.218 303.1)
XYZxyz(17.7309, 9.0970, 49.5270)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826BE #6CBE26
analogous
#2C26BE #7826BE #BE26B8
triadic
#7826BE #BE7826 #26BE78
tetradic
#7826BE #BE2C26 #6CBE26 #26B8BE
square
#7826BE #BE2C26 #6CBE26 #26B8BE
split-complementary
#7826BE #B8BE26 #26BE2C
monochromatic
#381258 #581C8B #7826BE #9647DA #B37AE4

Accessibility & contrast

On white

7.45
#7826BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7826BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826BE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826BE#FFFFFF#000000##FFFFFF
##7826BE1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#695073
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7826be;
/* rgb */ color: rgb(120, 38, 190);
/* oklch */ color: oklch(47.8% 0.218 303.1);
Tailwind
colors: {
  custom: {
    50: '#a66bd3',
    500: '#7826be',
    950: '#000000',
  },
}
SCSS
$custom: #7826be;
$custom-light: #a66bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7826be",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 190
  },
  "hsl": {
    "h": 272.368,
    "s": 66.667,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.21758,
    "h": 303.1
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#7826BE
secondary
#9CCC74
accent
#EA3E8D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7826BE

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

Preview Lab → · Contrast checker → · Palette generator →

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