#7830BC#7830BC

#7830BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.206 H 302.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7830BC
RGBrgb(120, 48, 188)
HSLhsl(271, 59%, 46%)
HSVhsv(271, 74%, 74%)
CMYKcmyk(36.2%, 74.5%, 0%, 26.3%)
CIE-LABlab(37.37, 56.45, -60.73)
CIE-LCHlch(37.37, 82.91, 312.90°)
OKLaboklab(48.54% 0.111 -0.1731)
OKLCHoklch(48.54% 0.206 302.7)
XYZxyz(17.8776, 9.7378, 48.5049)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830BC #74BC30
analogous
#3230BC #7830BC #BC30BA
triadic
#7830BC #BC7830 #30BC78
tetradic
#7830BC #BC3230 #74BC30 #30BABC
square
#7830BC #BC3230 #74BC30 #30BABC
split-complementary
#7830BC #BABC30 #30BC32
monochromatic
#3A175A #59248B #7830BC #9655D4 #B486E0

Accessibility & contrast

On white

7.12
#7830BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7830BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830BC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830BC#FFFFFF#000000##FFFFFF
##7830BC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#6A5374
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7830bc;
/* rgb */ color: rgb(120, 48, 188);
/* oklch */ color: oklch(48.5% 0.206 302.7);
Tailwind
colors: {
  custom: {
    50: '#a56fd1',
    500: '#7830bc',
    950: '#000000',
  },
}
SCSS
$custom: #7830bc;
$custom-light: #a56fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7830bc",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 270.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48544,
    "c": 0.20568,
    "h": 302.7
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#7830BC
secondary
#A3CA7E
accent
#E34592
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7830BC

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

Preview Lab → · Contrast checker → · Palette generator →

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