#7830B2#7830B2

#7830B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.195 H 305.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7830B2
RGBrgb(120, 48, 178)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 73%, 70%)
CMYKcmyk(32.6%, 73%, 0%, 30.2%)
CIE-LABlab(36.60, 54.10, -56.08)
CIE-LCHlch(36.60, 77.92, 313.97°)
OKLaboklab(47.76% 0.113 -0.1595)
OKLCHoklch(47.76% 0.195 305.3)
XYZxyz(16.8368, 9.3214, 43.0231)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830B2 #6AB230
analogous
#3730B2 #7830B2 #B230AB
triadic
#7830B2 #B27830 #30B278
tetradic
#7830B2 #B23730 #6AB230 #30ABB2
square
#7830B2 #B23730 #6AB230 #30ABB2
split-complementary
#7830B2 #ABB230 #30B237
monochromatic
#371652 #582382 #7830B2 #9750D0 #B380DD

Accessibility & contrast

On white

7.33
#7830B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7830B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7830B2#FFFFFF#000000##FFFFFF
##7830B21.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#6D4F6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7830b2;
/* rgb */ color: rgb(120, 48, 178);
/* oklch */ color: oklch(47.8% 0.195 305.3);
Tailwind
colors: {
  custom: {
    50: '#a46fca',
    500: '#7830b2',
    950: '#000000',
  },
}
SCSS
$custom: #7830b2;
$custom-light: #a46fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7830b2",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 273.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.19545,
    "h": 305.3
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#7830B2
secondary
#9BC678
accent
#E1478C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7830B2

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

Preview Lab → · Contrast checker → · Palette generator →

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