#7830BB#7830BB

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

Color values

HEX#7830BB
RGBrgb(120, 48, 187)
HSLhsl(271, 59%, 46%)
HSVhsv(271, 74%, 73%)
CMYKcmyk(35.8%, 74.3%, 0%, 26.7%)
CIE-LABlab(37.29, 56.21, -60.27)
CIE-LCHlch(37.29, 82.42, 313.00°)
OKLaboklab(48.46% 0.1112 -0.1718)
OKLCHoklch(48.46% 0.205 302.9)
XYZxyz(17.7702, 9.6948, 47.9392)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830BB #73BB30
analogous
#3230BB #7830BB #BB30B8
triadic
#7830BB #BB7830 #30BB78
tetradic
#7830BB #BB3230 #73BB30 #30B8BB
square
#7830BB #BB3230 #73BB30 #30B8BB
split-complementary
#7830BB #B8BB30 #30BB32
monochromatic
#39175A #59238A #7830BB #9655D3 #B486E0

Accessibility & contrast

On white

7.15
#7830BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7830BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830BB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830BB#FFFFFF#000000##FFFFFF
##7830BB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#6A5373
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7830bb;
/* rgb */ color: rgb(120, 48, 187);
/* oklch */ color: oklch(48.5% 0.205 302.9);
Tailwind
colors: {
  custom: {
    50: '#a56fd0',
    500: '#7830bb',
    950: '#000000',
  },
}
SCSS
$custom: #7830bb;
$custom-light: #a56fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7830bb",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 271.079,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.20466,
    "h": 302.9
  },
  "luminance": 0.09695
}

Semantic roles & 50–950 ramp

primary
#7830BB
secondary
#A2C97D
accent
#E24591
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7830BB

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

Preview Lab → · Contrast checker → · Palette generator →

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