#7B30BD#7B30BD

#7B30BD is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.207 H 303.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7B30BD
RGBrgb(123, 48, 189)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 75%, 74%)
CMYKcmyk(34.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(37.84, 57.22, -60.53)
CIE-LCHlch(37.84, 83.30, 313.39°)
OKLaboklab(48.99% 0.115 -0.1725)
OKLCHoklch(48.99% 0.207 303.7)
XYZxyz(18.4085, 9.9990, 49.0944)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30BD #72BD30
analogous
#3530BD #7B30BD #BD30B9
triadic
#7B30BD #BD7B30 #30BD7B
tetradic
#7B30BD #BD3530 #72BD30 #30B9BD
square
#7B30BD #BD3530 #72BD30 #30B9BD
split-complementary
#7B30BD #B9BD30 #30BD35
monochromatic
#3B175B #5B248C #7B30BD #9956D4 #B787E0

Accessibility & contrast

On white

7.00
#7B30BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7B30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B30BD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30BD#FFFFFF#000000##FFFFFF
##7B30BD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#6E5374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b30bd;
/* rgb */ color: rgb(123, 48, 189);
/* oklch */ color: oklch(49.0% 0.207 303.7);
Tailwind
colors: {
  custom: {
    50: '#a770d2',
    500: '#7b30bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b30bd;
$custom-light: #a770d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30bd",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 271.915,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.20729,
    "h": 303.7
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#7B30BD
secondary
#A2CA7F
accent
#E3458F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B30BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7B30BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva