#7B30CA#7B30CA

#7B30CA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.220 H 300.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7B30CA
RGBrgb(123, 48, 202)
HSLhsl(269, 62%, 49%)
HSVhsv(269, 76%, 79%)
CMYKcmyk(39.1%, 76.2%, 0%, 20.8%)
CIE-LABlab(38.88, 60.27, -66.44)
CIE-LCHlch(38.88, 89.70, 312.21°)
OKLaboklab(50.04% 0.112 -0.1898)
OKLCHoklch(50.04% 0.22 300.5)
XYZxyz(19.8834, 10.5890, 56.8620)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30CA #7FCA30
analogous
#3032CA #7B30CA #C830CA
triadic
#7B30CA #CA7B30 #30CA7B
tetradic
#7B30CA #CA3032 #7FCA30 #30CAC8
square
#7B30CA #CA3032 #7FCA30 #30CAC8
split-complementary
#7B30CA #CAC830 #32CA30
monochromatic
#3F1867 #5D2499 #7B30CA #9A5ED9 #B990E5

Accessibility & contrast

On white

6.74
#7B30CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B30CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B30CA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30CA#FFFFFF#000000##FFFFFF
##7B30CA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#69597C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b30ca;
/* rgb */ color: rgb(123, 48, 202);
/* oklch */ color: oklch(50.0% 0.220 300.5);
Tailwind
colors: {
  custom: {
    50: '#a870db',
    500: '#7b30ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b30ca;
$custom-light: #a870db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30ca",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 269.221,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.22039,
    "h": 300.5
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#7B30CA
secondary
#ACCF87
accent
#E54396
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B30CA

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

Preview Lab → · Contrast checker → · Palette generator →

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