#7830AB#7830AB

#7830AB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.188 H 307.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7830AB
RGBrgb(120, 48, 171)
HSLhsl(275, 56%, 43%)
HSVhsv(275, 72%, 67%)
CMYKcmyk(29.8%, 71.9%, 0%, 32.9%)
CIE-LABlab(36.08, 52.48, -52.75)
CIE-LCHlch(36.08, 74.41, 314.85°)
OKLaboklab(47.22% 0.1142 -0.1497)
OKLCHoklch(47.22% 0.188 307.3)
XYZxyz(16.1518, 9.0475, 39.4156)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830AB #63AB30
analogous
#3B30AB #7830AB #AB30A0
triadic
#7830AB #AB7830 #30AB78
tetradic
#7830AB #AB3B30 #63AB30 #30A0AB
square
#7830AB #AB3B30 #63AB30 #30A0AB
split-complementary
#7830AB #A0AB30 #30AB3B
monochromatic
#35154B #56237B #7830AB #974CCD #B37BDA

Accessibility & contrast

On white

7.47
#7830AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7830AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7830AB#FFFFFF#000000##FFFFFF
##7830AB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#704C6A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7830ab;
/* rgb */ color: rgb(120, 48, 171);
/* oklch */ color: oklch(47.2% 0.188 307.3);
Tailwind
colors: {
  custom: {
    50: '#a46fc5',
    500: '#7830ab',
    950: '#000000',
  },
}
SCSS
$custom: #7830ab;
$custom-light: #a46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7830ab",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 275.122,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.18828,
    "h": 307.3
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#7830AB
secondary
#95C374
accent
#DF4887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7830AB

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

Preview Lab → · Contrast checker → · Palette generator →

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