#7830AF#7830AF

#7830AF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.192 H 306.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7830AF
RGBrgb(120, 48, 175)
HSLhsl(274, 57%, 44%)
HSVhsv(274, 73%, 69%)
CMYKcmyk(31.4%, 72.6%, 0%, 31.4%)
CIE-LABlab(36.37, 53.41, -54.66)
CIE-LCHlch(36.37, 76.42, 314.34°)
OKLaboklab(47.53% 0.1136 -0.1553)
OKLCHoklch(47.53% 0.192 306.2)
XYZxyz(16.5389, 9.2023, 41.4541)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830AF #67AF30
analogous
#3830AF #7830AF #AF30A6
triadic
#7830AF #AF7830 #30AF78
tetradic
#7830AF #AF3830 #67AF30 #30A6AF
square
#7830AF #AF3830 #67AF30 #30A6AF
split-complementary
#7830AF #A6AF30 #30AF38
monochromatic
#36164F #57237F #7830AF #974ECE #B37EDC

Accessibility & contrast

On white

7.39
#7830AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7830AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7830AF#FFFFFF#000000##FFFFFF
##7830AF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#6E4E6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7830af;
/* rgb */ color: rgb(120, 48, 175);
/* oklch */ color: oklch(47.5% 0.192 306.2);
Tailwind
colors: {
  custom: {
    50: '#a46fc8',
    500: '#7830af',
    950: '#000000',
  },
}
SCSS
$custom: #7830af;
$custom-light: #a46fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7830af",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 274.016,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47527,
    "c": 0.19238,
    "h": 306.2
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#7830AF
secondary
#98C476
accent
#E0488A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7830AF

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

Preview Lab → · Contrast checker → · Palette generator →

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