#7830B5#7830B5

#7830B5 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 48.0% C 0.199 H 304.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7830B5
RGBrgb(120, 48, 181)
HSLhsl(272, 58%, 45%)
HSVhsv(272, 73%, 71%)
CMYKcmyk(33.7%, 73.5%, 0%, 29%)
CIE-LABlab(36.82, 54.80, -57.49)
CIE-LCHlch(36.82, 79.42, 313.63°)
OKLaboklab(47.99% 0.1125 -0.1636)
OKLCHoklch(47.99% 0.199 304.5)
XYZxyz(17.1413, 9.4432, 44.6268)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830B5 #6DB530
analogous
#3530B5 #7830B5 #B530B0
triadic
#7830B5 #B57830 #30B578
tetradic
#7830B5 #B53530 #6DB530 #30B0B5
square
#7830B5 #B53530 #6DB530 #30B0B5
split-complementary
#7830B5 #B0B530 #30B535
monochromatic
#381654 #582385 #7830B5 #9651D1 #B482DE

Accessibility & contrast

On white

7.27
#7830B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7830B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7830B5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830B5#FFFFFF#000000##FFFFFF
##7830B51.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#6C5070
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7830b5;
/* rgb */ color: rgb(120, 48, 181);
/* oklch */ color: oklch(48.0% 0.199 304.5);
Tailwind
colors: {
  custom: {
    50: '#a46fcc',
    500: '#7830b5',
    950: '#000000',
  },
}
SCSS
$custom: #7830b5;
$custom-light: #a46fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7830b5",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 272.481,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.19853,
    "h": 304.5
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#7830B5
secondary
#9DC77A
accent
#E1468D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7830B5

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

Preview Lab → · Contrast checker → · Palette generator →

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