#7830B8#7830B8

#7830B8 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.202 H 303.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7830B8
RGBrgb(120, 48, 184)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 72%)
CMYKcmyk(34.8%, 73.9%, 0%, 27.8%)
CIE-LABlab(37.06, 55.50, -58.88)
CIE-LCHlch(37.06, 80.92, 313.31°)
OKLaboklab(48.23% 0.1119 -0.1677)
OKLCHoklch(48.23% 0.202 303.7)
XYZxyz(17.4524, 9.5677, 46.2654)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7830B8 #70B830
analogous
#3430B8 #7830B8 #B830B4
triadic
#7830B8 #B87830 #30B878
tetradic
#7830B8 #B83430 #70B830 #30B4B8
square
#7830B8 #B83430 #70B830 #30B4B8
split-complementary
#7830B8 #B4B830 #30B834
monochromatic
#391757 #582387 #7830B8 #9653D2 #B484DF

Accessibility & contrast

On white

7.21
#7830B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7830B8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7830B8#FFFFFF#000000##FFFFFF
##7830B81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#6B5272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7830b8;
/* rgb */ color: rgb(120, 48, 184);
/* oklch */ color: oklch(48.2% 0.202 303.7);
Tailwind
colors: {
  custom: {
    50: '#a56fce',
    500: '#7830b8',
    950: '#000000',
  },
}
SCSS
$custom: #7830b8;
$custom-light: #a56fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7830b8",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 271.765,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.20159,
    "h": 303.7
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#7830B8
secondary
#A0C87C
accent
#E2468F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7830B8

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

Preview Lab → · Contrast checker → · Palette generator →

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