#7830B3#7830B3

#7830B3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.196 H 305.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7830B3
RGBrgb(120, 48, 179)
HSLhsl(273, 58%, 45%)
HSVhsv(273, 73%, 70%)
CMYKcmyk(33%, 73.2%, 0%, 29.8%)
CIE-LABlab(36.67, 54.33, -56.55)
CIE-LCHlch(36.67, 78.42, 313.86°)
OKLaboklab(47.84% 0.1128 -0.1608)
OKLCHoklch(47.84% 0.196 305)
XYZxyz(16.9375, 9.3617, 43.5538)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830B3 #6BB330
analogous
#3730B3 #7830B3 #B330AD
triadic
#7830B3 #B37830 #30B378
tetradic
#7830B3 #B33730 #6BB330 #30ADB3
square
#7830B3 #B33730 #6BB330 #30ADB3
split-complementary
#7830B3 #ADB330 #30B337
monochromatic
#371652 #582383 #7830B3 #9650D0 #B380DD

Accessibility & contrast

On white

7.31
#7830B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7830B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830B3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830B3#FFFFFF#000000##FFFFFF
##7830B31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#6D506F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7830b3;
/* rgb */ color: rgb(120, 48, 179);
/* oklch */ color: oklch(47.8% 0.196 305.0);
Tailwind
colors: {
  custom: {
    50: '#a46fcb',
    500: '#7830b3',
    950: '#000000',
  },
}
SCSS
$custom: #7830b3;
$custom-light: #a46fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7830b3",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 272.977,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47835,
    "c": 0.19648,
    "h": 305
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#7830B3
secondary
#9CC679
accent
#E1478C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7830B3

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

Preview Lab → · Contrast checker → · Palette generator →

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