#7833A2#7833A2

#7833A2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.175 H 309.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7833A2
RGBrgb(120, 51, 162)
HSLhsl(277, 52%, 42%)
HSVhsv(277, 69%, 64%)
CMYKcmyk(25.9%, 68.5%, 0%, 36.5%)
CIE-LABlab(35.93, 49.06, -47.60)
CIE-LCHlch(35.93, 68.35, 315.87°)
OKLaboklab(46.92% 0.1121 -0.1346)
OKLCHoklch(46.92% 0.175 309.8)
XYZxyz(15.4499, 8.9697, 35.0928)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7833A2 #5DA233
analogous
#4033A2 #7833A2 #A23395
triadic
#7833A2 #A27833 #33A278
tetradic
#7833A2 #A24033 #5DA233 #3395A2
square
#7833A2 #A24033 #5DA233 #3395A2
split-complementary
#7833A2 #95A233 #33A240
monochromatic
#331645 #562473 #7833A2 #984CC7 #B37AD5

Accessibility & contrast

On white

7.52
#7833A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7833A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7833A2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7833A2#FFFFFF#000000##FFFFFF
##7833A21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#724B66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7833a2;
/* rgb */ color: rgb(120, 51, 162);
/* oklch */ color: oklch(46.9% 0.175 309.8);
Tailwind
colors: {
  custom: {
    50: '#a370be',
    500: '#7833a2',
    950: '#000000',
  },
}
SCSS
$custom: #7833a2;
$custom-light: #a370be;
$custom-dark: #000000;
JSON
{
  "hex": "#7833a2",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 277.297,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.17514,
    "h": 309.8
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#7833A2
secondary
#8FBE73
accent
#DC4C82
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7833A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7833A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva