#7826AF#7826AF

#7826AF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.203 H 307.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7826AF
RGBrgb(120, 38, 175)
HSLhsl(276, 64%, 42%)
HSVhsv(276, 78%, 69%)
CMYKcmyk(31.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(34.95, 57.46, -56.96)
CIE-LCHlch(34.95, 80.91, 315.25°)
OKLaboklab(46.53% 0.1227 -0.162)
OKLCHoklch(46.53% 0.203 307.1)
XYZxyz(16.1750, 8.4746, 41.3328)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7826AF #5DAF26
analogous
#3326AF #7826AF #AF26A2
triadic
#7826AF #AF7826 #26AF78
tetradic
#7826AF #AF3326 #5DAF26 #26A2AF
square
#7826AF #AF3326 #5DAF26 #26A2AF
split-complementary
#7826AF #A2AF26 #26AF33
monochromatic
#33104A #561B7D #7826AF #983DD5 #B370E0

Accessibility & contrast

On white

7.79
#7826AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7826AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7826AF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7826AF#FFFFFF#000000##FFFFFF
##7826AF1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#6F496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7826af;
/* rgb */ color: rgb(120, 38, 175);
/* oklch */ color: oklch(46.5% 0.203 307.1);
Tailwind
colors: {
  custom: {
    50: '#a46ac8',
    500: '#7826af',
    950: '#000000',
  },
}
SCSS
$custom: #7826af;
$custom-light: #a46ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7826af",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 275.912,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46527,
    "c": 0.20325,
    "h": 307.1
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#7826AF
secondary
#8FC76A
accent
#E74083
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7826AF

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

Preview Lab → · Contrast checker → · Palette generator →

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