#7829B0#7829B0

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

Color values

HEX#7829B0
RGBrgb(120, 41, 176)
HSLhsl(275, 62%, 43%)
HSVhsv(275, 77%, 69%)
CMYKcmyk(31.8%, 76.7%, 0%, 31%)
CIE-LABlab(35.43, 56.54, -56.79)
CIE-LCHlch(35.43, 80.14, 314.87°)
OKLaboklab(46.89% 0.1199 -0.1615)
OKLCHoklch(46.89% 0.201 306.6)
XYZxyz(16.3734, 8.7137, 41.8852)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7829B0 #61B029
analogous
#3429B0 #7829B0 #B029A5
triadic
#7829B0 #B07829 #29B078
tetradic
#7829B0 #B03429 #61B029 #29A5B0
square
#7829B0 #B03429 #61B029 #29A5B0
split-complementary
#7829B0 #A5B029 #29B034
monochromatic
#34124D #561D7E #7829B0 #9743D3 #B375DF

Accessibility & contrast

On white

7.66
#7829B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7829B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7829B0
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7829B0#FFFFFF#000000##FFFFFF
##7829B01.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)
#0051B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#6E4B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7829b0;
/* rgb */ color: rgb(120, 41, 176);
/* oklch */ color: oklch(46.9% 0.201 306.6);
Tailwind
colors: {
  custom: {
    50: '#a46cc8',
    500: '#7829b0',
    950: '#000000',
  },
}
SCSS
$custom: #7829b0;
$custom-light: #a46cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7829b0",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 275.111,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46885,
    "c": 0.20117,
    "h": 306.6
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#7829B0
secondary
#93C66F
accent
#E54386
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7829B0

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

Preview Lab → · Contrast checker → · Palette generator →

#7829B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva