#7830AC#7830AC

#7830AC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.189 H 307.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7830AC
RGBrgb(120, 48, 172)
HSLhsl(275, 56%, 43%)
HSVhsv(275, 72%, 67%)
CMYKcmyk(30.2%, 72.1%, 0%, 32.5%)
CIE-LABlab(36.15, 52.71, -53.23)
CIE-LCHlch(36.15, 74.92, 314.72°)
OKLaboklab(47.3% 0.114 -0.1511)
OKLCHoklch(47.3% 0.189 307)
XYZxyz(16.2475, 9.0857, 39.9195)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830AC #64AC30
analogous
#3A30AC #7830AC #AC30A2
triadic
#7830AC #AC7830 #30AC78
tetradic
#7830AC #AC3A30 #64AC30 #30A2AC
square
#7830AC #AC3A30 #64AC30 #30A2AC
split-complementary
#7830AC #A2AC30 #30AC3A
monochromatic
#35154C #57237C #7830AC #974CCD #B37CDA

Accessibility & contrast

On white

7.45
#7830AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7830AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7830AC#FFFFFF#000000##FFFFFF
##7830AC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0156A9
Tritanopia (blue-blind)
#6F4D6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7830ac;
/* rgb */ color: rgb(120, 48, 172);
/* oklch */ color: oklch(47.3% 0.189 307.0);
Tailwind
colors: {
  custom: {
    50: '#a46fc5',
    500: '#7830ac',
    950: '#000000',
  },
}
SCSS
$custom: #7830ac;
$custom-light: #a46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7830ac",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 274.839,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.473,
    "c": 0.1893,
    "h": 307
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#7830AC
secondary
#96C375
accent
#E04888
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7830AC

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

Preview Lab → · Contrast checker → · Palette generator →

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