#7830C5#7830C5

#7830C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.215 H 300.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7830C5
RGBrgb(120, 48, 197)
HSLhsl(269, 61%, 48%)
HSVhsv(269, 76%, 77%)
CMYKcmyk(39.1%, 75.6%, 0%, 22.7%)
CIE-LABlab(38.09, 58.59, -64.83)
CIE-LCHlch(38.09, 87.38, 312.10°)
OKLaboklab(49.28% 0.1089 -0.1852)
OKLCHoklch(49.28% 0.215 300.5)
XYZxyz(18.8782, 10.1380, 53.7747)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830C5 #7DC530
analogous
#3033C5 #7830C5 #C230C5
triadic
#7830C5 #C57830 #30C578
tetradic
#7830C5 #C53033 #7DC530 #30C5C2
square
#7830C5 #C53033 #7DC530 #30C5C2
split-complementary
#7830C5 #C5C230 #33C530
monochromatic
#3C1863 #5A2494 #7830C5 #975BD7 #B68CE3

Accessibility & contrast

On white

6.94
#7830C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7830C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7830C5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830C5#FFFFFF#000000##FFFFFF
##7830C51.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#665779
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7830c5;
/* rgb */ color: rgb(120, 48, 197);
/* oklch */ color: oklch(49.3% 0.215 300.5);
Tailwind
colors: {
  custom: {
    50: '#a670d8',
    500: '#7830c5',
    950: '#000000',
  },
}
SCSS
$custom: #7830c5;
$custom-light: #a670d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7830c5",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 268.993,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.21486,
    "h": 300.5
  },
  "luminance": 0.10138
}

Semantic roles & 50–950 ramp

primary
#7830C5
secondary
#AACD84
accent
#E44497
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7830C5

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

Preview Lab → · Contrast checker → · Palette generator →

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