#7B30B2#7B30B2

#7B30B2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.196 H 306.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7B30B2
RGBrgb(123, 48, 178)
HSLhsl(275, 58%, 44%)
HSVhsv(275, 73%, 70%)
CMYKcmyk(30.9%, 73%, 0%, 30.2%)
CIE-LABlab(37.00, 54.68, -55.40)
CIE-LCHlch(37.00, 77.84, 314.63°)
OKLaboklab(48.13% 0.1172 -0.1574)
OKLCHoklch(48.13% 0.196 306.7)
XYZxyz(17.2595, 9.5394, 43.0429)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30B2 #67B230
analogous
#3A30B2 #7B30B2 #B230A8
triadic
#7B30B2 #B27B30 #30B27B
tetradic
#7B30B2 #B23A30 #67B230 #30A8B2
square
#7B30B2 #B23A30 #67B230 #30A8B2
split-complementary
#7B30B2 #A8B230 #30B23A
monochromatic
#381652 #5A2382 #7B30B2 #9950D0 #B580DD

Accessibility & contrast

On white

7.22
#7B30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7B30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30B2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30B2#FFFFFF#000000##FFFFFF
##7B30B21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#724F6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b30b2;
/* rgb */ color: rgb(123, 48, 178);
/* oklch */ color: oklch(48.1% 0.196 306.7);
Tailwind
colors: {
  custom: {
    50: '#a66fca',
    500: '#7b30b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b30b2;
$custom-light: #a66fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30b2",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 274.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.19619,
    "h": 306.7
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#7B30B2
secondary
#99C678
accent
#E14788
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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