#7830B9#7830B9

#7830B9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.203 H 303.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7830B9
RGBrgb(120, 48, 185)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 74%, 73%)
CMYKcmyk(35.1%, 74.1%, 0%, 27.5%)
CIE-LABlab(37.13, 55.74, -59.35)
CIE-LCHlch(37.13, 81.42, 313.20°)
OKLaboklab(48.31% 0.1117 -0.1691)
OKLCHoklch(48.31% 0.203 303.4)
XYZxyz(17.5576, 9.6098, 46.8194)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830B9 #71B930
analogous
#3430B9 #7830B9 #B930B5
triadic
#7830B9 #B97830 #30B978
tetradic
#7830B9 #B93430 #71B930 #30B5B9
square
#7830B9 #B93430 #71B930 #30B5B9
split-complementary
#7830B9 #B5B930 #30B934
monochromatic
#391758 #582388 #7830B9 #9654D3 #B484DF

Accessibility & contrast

On white

7.19
#7830B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7830B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830B9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830B9#FFFFFF#000000##FFFFFF
##7830B91.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#6B5272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7830b9;
/* rgb */ color: rgb(120, 48, 185);
/* oklch */ color: oklch(48.3% 0.203 303.4);
Tailwind
colors: {
  custom: {
    50: '#a56fcf',
    500: '#7830b9',
    950: '#000000',
  },
}
SCSS
$custom: #7830b9;
$custom-light: #a56fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7830b9",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 271.533,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.20262,
    "h": 303.4
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7830B9

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

Preview Lab → · Contrast checker → · Palette generator →

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