#7B30BC#7B30BC

#7B30BC is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.206 H 304.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7B30BC
RGBrgb(123, 48, 188)
HSLhsl(272, 59%, 46%)
HSVhsv(272, 74%, 74%)
CMYKcmyk(34.6%, 74.5%, 0%, 26.3%)
CIE-LABlab(37.76, 56.98, -60.07)
CIE-LCHlch(37.76, 82.80, 313.49°)
OKLaboklab(48.91% 0.1152 -0.1711)
OKLCHoklch(48.91% 0.206 304)
XYZxyz(18.3003, 9.9557, 48.5247)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30BC #71BC30
analogous
#3530BC #7B30BC #BC30B7
triadic
#7B30BC #BC7B30 #30BC7B
tetradic
#7B30BC #BC3530 #71BC30 #30B7BC
square
#7B30BC #BC3530 #71BC30 #30B7BC
split-complementary
#7B30BC #B7BC30 #30BC35
monochromatic
#3B175A #5B248B #7B30BC #9955D4 #B686E0

Accessibility & contrast

On white

7.02
#7B30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7B30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B30BC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30BC#FFFFFF#000000##FFFFFF
##7B30BC1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b30bc;
/* rgb */ color: rgb(123, 48, 188);
/* oklch */ color: oklch(48.9% 0.206 304.0);
Tailwind
colors: {
  custom: {
    50: '#a770d1',
    500: '#7b30bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b30bc;
$custom-light: #a770d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30bc",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 272.143,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.20628,
    "h": 304
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#7B30BC
secondary
#A1CA7E
accent
#E3458E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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