#7830AA#7830AA

#7830AA is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.187 H 307.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7830AA
RGBrgb(120, 48, 170)
HSLhsl(275, 56%, 43%)
HSVhsv(275, 72%, 67%)
CMYKcmyk(29.4%, 71.8%, 0%, 33.3%)
CIE-LABlab(36.00, 52.26, -52.27)
CIE-LCHlch(36.00, 73.91, 314.99°)
OKLaboklab(47.15% 0.1144 -0.1483)
OKLCHoklch(47.15% 0.187 307.6)
XYZxyz(16.0569, 9.0095, 38.9155)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830AA #62AA30
analogous
#3B30AA #7830AA #AA309F
triadic
#7830AA #AA7830 #30AA78
tetradic
#7830AA #AA3B30 #62AA30 #309FAA
square
#7830AA #AA3B30 #62AA30 #309FAA
split-complementary
#7830AA #9FAA30 #30AA3B
monochromatic
#35154B #56237A #7830AA #974BCC #B37BDA

Accessibility & contrast

On white

7.50
#7830AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7830AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830AA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830AA#FFFFFF#000000##FFFFFF
##7830AA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0955A7
Tritanopia (blue-blind)
#704C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7830aa;
/* rgb */ color: rgb(120, 48, 170);
/* oklch */ color: oklch(47.1% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#a36fc4',
    500: '#7830aa',
    950: '#000000',
  },
}
SCSS
$custom: #7830aa;
$custom-light: #a36fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7830aa",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 275.41,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.18726,
    "h": 307.6
  },
  "luminance": 0.09009
}

Semantic roles & 50–950 ramp

primary
#7830AA
secondary
#94C274
accent
#DF4986
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7830AA

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

Preview Lab → · Contrast checker → · Palette generator →

#7830AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva