#7830B7#7830B7

#7830B7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.201 H 304.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7830B7
RGBrgb(120, 48, 183)
HSLhsl(272, 58%, 45%)
HSVhsv(272, 74%, 72%)
CMYKcmyk(34.4%, 73.8%, 0%, 28.2%)
CIE-LABlab(36.98, 55.27, -58.42)
CIE-LCHlch(36.98, 80.42, 313.41°)
OKLaboklab(48.15% 0.1121 -0.1663)
OKLCHoklch(48.15% 0.201 304)
XYZxyz(17.3480, 9.5259, 45.7153)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830B7 #6FB730
analogous
#3430B7 #7830B7 #B730B3
triadic
#7830B7 #B77830 #30B778
tetradic
#7830B7 #B73430 #6FB730 #30B3B7
square
#7830B7 #B73430 #6FB730 #30B3B7
split-complementary
#7830B7 #B3B730 #30B734
monochromatic
#381756 #582387 #7830B7 #9652D2 #B483DE

Accessibility & contrast

On white

7.23
#7830B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7830B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830B7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830B7#FFFFFF#000000##FFFFFF
##7830B71.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#6C5171
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7830b7;
/* rgb */ color: rgb(120, 48, 183);
/* oklch */ color: oklch(48.1% 0.201 304.0);
Tailwind
colors: {
  custom: {
    50: '#a46fcd',
    500: '#7830b7',
    950: '#000000',
  },
}
SCSS
$custom: #7830b7;
$custom-light: #a46fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7830b7",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 272,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48147,
    "c": 0.20057,
    "h": 304
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#7830B7
secondary
#9FC87B
accent
#E2468F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7830B7

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

Preview Lab → · Contrast checker → · Palette generator →

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