#7B30CF#7B30CF

#7B30CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.225 H 299.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7B30CF
RGBrgb(123, 48, 207)
HSLhsl(268, 62%, 50%)
HSVhsv(268, 77%, 81%)
CMYKcmyk(40.6%, 76.8%, 0%, 18.8%)
CIE-LABlab(39.29, 61.45, -68.67)
CIE-LCHlch(39.29, 92.15, 311.83°)
OKLaboklab(50.46% 0.1107 -0.1963)
OKLCHoklch(50.46% 0.225 299.4)
XYZxyz(20.4850, 10.8296, 60.0305)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B30CF #84CF30
analogous
#3034CF #7B30CF #CB30CF
triadic
#7B30CF #CF7B30 #30CF7B
tetradic
#7B30CF #CF3034 #84CF30 #30CFCB
square
#7B30CF #CF3034 #84CF30 #30CFCB
split-complementary
#7B30CF #CFCB30 #34CF30
monochromatic
#40196C #5D249D #7B30CF #9B62DB #BA93E6

Accessibility & contrast

On white

6.63
#7B30CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7B30CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B30CF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B30CF#FFFFFF#000000##FFFFFF
##7B30CF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#675B7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b30cf;
/* rgb */ color: rgb(123, 48, 207);
/* oklch */ color: oklch(50.5% 0.225 299.4);
Tailwind
colors: {
  custom: {
    50: '#a971df',
    500: '#7b30cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b30cf;
$custom-light: #a971df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b30cf",
  "rgb": {
    "r": 123,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 268.302,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.22541,
    "h": 299.4
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#7B30CF
secondary
#AFD18A
accent
#E54299
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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