#7830CA#7830CA

#7830CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.220 H 299.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7830CA
RGBrgb(120, 48, 202)
HSLhsl(268, 62%, 49%)
HSVhsv(268, 76%, 79%)
CMYKcmyk(40.6%, 76.2%, 0%, 20.8%)
CIE-LABlab(38.50, 59.78, -67.07)
CIE-LCHlch(38.50, 89.85, 311.71°)
OKLaboklab(49.69% 0.1077 -0.1918)
OKLCHoklch(49.69% 0.22 299.3)
XYZxyz(19.4606, 10.3710, 56.8422)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830CA #82CA30
analogous
#3035CA #7830CA #C530CA
triadic
#7830CA #CA7830 #30CA78
tetradic
#7830CA #CA3035 #82CA30 #30CAC5
square
#7830CA #CA3035 #82CA30 #30CAC5
split-complementary
#7830CA #CAC530 #35CA30
monochromatic
#3D1867 #5B2499 #7830CA #985ED9 #B790E5

Accessibility & contrast

On white

6.83
#7830CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7830CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7830CA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830CA#FFFFFF#000000##FFFFFF
##7830CA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#64597C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7830ca;
/* rgb */ color: rgb(120, 48, 202);
/* oklch */ color: oklch(49.7% 0.220 299.3);
Tailwind
colors: {
  custom: {
    50: '#a670db',
    500: '#7830ca',
    950: '#000000',
  },
}
SCSS
$custom: #7830ca;
$custom-light: #a670db;
$custom-dark: #000000;
JSON
{
  "hex": "#7830ca",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 268.052,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49691,
    "c": 0.21995,
    "h": 299.3
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#7830CA
secondary
#ADCF87
accent
#E54399
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7830CA

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

Preview Lab → · Contrast checker → · Palette generator →

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