#7830C8#7830C8

#7830C8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.218 H 299.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7830C8
RGBrgb(120, 48, 200)
HSLhsl(268, 61%, 49%)
HSVhsv(268, 76%, 78%)
CMYKcmyk(40%, 76%, 0%, 21.6%)
CIE-LABlab(38.33, 59.30, -66.18)
CIE-LCHlch(38.33, 88.86, 311.86°)
OKLaboklab(49.52% 0.1082 -0.1892)
OKLCHoklch(49.52% 0.218 299.8)
XYZxyz(19.2254, 10.2769, 55.6031)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830C8 #80C830
analogous
#3034C8 #7830C8 #C430C8
triadic
#7830C8 #C87830 #30C878
tetradic
#7830C8 #C83034 #80C830 #30C8C4
square
#7830C8 #C83034 #80C830 #30C8C4
split-complementary
#7830C8 #C8C430 #34C830
monochromatic
#3D1865 #5A2497 #7830C8 #975DD8 #B78EE4

Accessibility & contrast

On white

6.87
#7830C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7830C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7830C8
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830C8#FFFFFF#000000##FFFFFF
##7830C81.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#65587B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7830c8;
/* rgb */ color: rgb(120, 48, 200);
/* oklch */ color: oklch(49.5% 0.218 299.8);
Tailwind
colors: {
  custom: {
    50: '#a670da',
    500: '#7830c8',
    950: '#000000',
  },
}
SCSS
$custom: #7830c8;
$custom-light: #a670da;
$custom-dark: #000000;
JSON
{
  "hex": "#7830c8",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 268.421,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.21791,
    "h": 299.8
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#7830C8
secondary
#ACCE85
accent
#E44398
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7830C8

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

Preview Lab → · Contrast checker → · Palette generator →

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