#7830A2#7830A2

#7830A2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.179 H 310.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7830A2
RGBrgb(120, 48, 162)
HSLhsl(278, 54%, 41%)
HSVhsv(278, 70%, 64%)
CMYKcmyk(25.9%, 70.4%, 0%, 36.5%)
CIE-LABlab(35.43, 50.44, -48.39)
CIE-LCHlch(35.43, 69.90, 316.19°)
OKLaboklab(46.56% 0.1154 -0.1369)
OKLCHoklch(46.56% 0.179 310.1)
XYZxyz(15.3230, 8.7159, 35.0506)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830A2 #5AA230
analogous
#3F30A2 #7830A2 #A23093
triadic
#7830A2 #A27830 #30A278
tetradic
#7830A2 #A23F30 #5AA230 #3093A2
square
#7830A2 #A23F30 #5AA230 #3093A2
split-complementary
#7830A2 #93A230 #30A23F
monochromatic
#321444 #552273 #7830A2 #9947C8 #B376D6

Accessibility & contrast

On white

7.66
#7830A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7830A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7830A2#FFFFFF#000000##FFFFFF
##7830A21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#1D549F
Tritanopia (blue-blind)
#724965
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7830a2;
/* rgb */ color: rgb(120, 48, 162);
/* oklch */ color: oklch(46.6% 0.179 310.1);
Tailwind
colors: {
  custom: {
    50: '#a36ebe',
    500: '#7830a2',
    950: '#000000',
  },
}
SCSS
$custom: #7830a2;
$custom-light: #a36ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7830a2",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 277.895,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.17907,
    "h": 310.1
  },
  "luminance": 0.08716
}

Semantic roles & 50–950 ramp

primary
#7830A2
secondary
#8CBE6F
accent
#DE4A80
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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