#7830BA#7830BA

#7830BA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.204 H 303.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7830BA
RGBrgb(120, 48, 186)
HSLhsl(271, 59%, 46%)
HSVhsv(271, 74%, 73%)
CMYKcmyk(35.5%, 74.2%, 0%, 27.1%)
CIE-LABlab(37.21, 55.98, -59.81)
CIE-LCHlch(37.21, 81.92, 313.10°)
OKLaboklab(48.38% 0.1114 -0.1704)
OKLCHoklch(48.38% 0.204 303.2)
XYZxyz(17.6635, 9.6521, 47.3773)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830BA #72BA30
analogous
#3330BA #7830BA #BA30B7
triadic
#7830BA #BA7830 #30BA78
tetradic
#7830BA #BA3330 #72BA30 #30B7BA
square
#7830BA #BA3330 #72BA30 #30B7BA
split-complementary
#7830BA #B7BA30 #30BA33
monochromatic
#391759 #592389 #7830BA #9654D3 #B485DF

Accessibility & contrast

On white

7.17
#7830BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7830BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830BA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830BA#FFFFFF#000000##FFFFFF
##7830BA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#6B5273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7830ba;
/* rgb */ color: rgb(120, 48, 186);
/* oklch */ color: oklch(48.4% 0.204 303.2);
Tailwind
colors: {
  custom: {
    50: '#a56fd0',
    500: '#7830ba',
    950: '#000000',
  },
}
SCSS
$custom: #7830ba;
$custom-light: #a56fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7830ba",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 271.304,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.20364,
    "h": 303.2
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#7830BA
secondary
#A1C97D
accent
#E24690
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7830BA

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

Preview Lab → · Contrast checker → · Palette generator →

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