#7830C1#7830C1

#7830C1 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.211 H 301.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7830C1
RGBrgb(120, 48, 193)
HSLhsl(270, 60%, 47%)
HSVhsv(270, 75%, 76%)
CMYKcmyk(37.8%, 75.1%, 0%, 24.3%)
CIE-LABlab(37.77, 57.63, -63.02)
CIE-LCHlch(37.77, 85.40, 312.44°)
OKLaboklab(48.95% 0.1099 -0.1799)
OKLCHoklch(48.95% 0.211 301.4)
XYZxyz(18.4260, 9.9571, 51.3929)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830C1 #79C130
analogous
#3031C1 #7830C1 #C130C1
triadic
#7830C1 #C17830 #30C178
tetradic
#7830C1 #C13031 #79C130 #30C1C1
square
#7830C1 #C13031 #79C130 #30C1C1
split-complementary
#7830C1 #C1C130 #31C130
monochromatic
#3B185F #5A2490 #7830C1 #9759D6 #B58AE2

Accessibility & contrast

On white

7.02
#7830C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7830C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830C1
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830C1#FFFFFF#000000##FFFFFF
##7830C11.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#685577
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7830c1;
/* rgb */ color: rgb(120, 48, 193);
/* oklch */ color: oklch(48.9% 0.211 301.4);
Tailwind
colors: {
  custom: {
    50: '#a570d5',
    500: '#7830c1',
    950: '#000000',
  },
}
SCSS
$custom: #7830c1;
$custom-light: #a570d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7830c1",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 269.793,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.21078,
    "h": 301.4
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#7830C1
secondary
#A7CC81
accent
#E34494
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7830C1

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

Preview Lab → · Contrast checker → · Palette generator →

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