#7827B3#7827B3

#7827B3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.206 H 305.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7827B3
RGBrgb(120, 39, 179)
HSLhsl(275, 64%, 43%)
HSVhsv(275, 78%, 70%)
CMYKcmyk(33%, 78.2%, 0%, 29.8%)
CIE-LABlab(35.40, 57.98, -58.62)
CIE-LCHlch(35.40, 82.45, 314.68°)
OKLaboklab(46.94% 0.121 -0.1669)
OKLCHoklch(46.94% 0.206 305.9)
XYZxyz(16.6061, 8.6989, 43.4433)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7827B3 #62B327
analogous
#3227B3 #7827B3 #B327A8
triadic
#7827B3 #B37827 #27B378
tetradic
#7827B3 #B33227 #62B327 #27A8B3
square
#7827B3 #B33227 #62B327 #27A8B3
split-complementary
#7827B3 #A8B327 #27B332
monochromatic
#35114E #561C81 #7827B3 #9741D6 #B374E1

Accessibility & contrast

On white

7.66
#7827B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7827B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7827B3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7827B3#FFFFFF#000000##FFFFFF
##7827B31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#6D4B6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7827b3;
/* rgb */ color: rgb(120, 39, 179);
/* oklch */ color: oklch(46.9% 0.206 305.9);
Tailwind
colors: {
  custom: {
    50: '#a56bcb',
    500: '#7827b3',
    950: '#000000',
  },
}
SCSS
$custom: #7827b3;
$custom-light: #a56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7827b3",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 274.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46938,
    "c": 0.2061,
    "h": 305.9
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#7827B3
secondary
#94C86E
accent
#E74187
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7827B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7827B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva