#7B2FCA#7B2FCA

#7B2FCA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.221 H 300.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7B2FCA
RGBrgb(123, 47, 202)
HSLhsl(269, 62%, 49%)
HSVhsv(269, 77%, 79%)
CMYKcmyk(39.1%, 76.7%, 0%, 20.8%)
CIE-LABlab(38.74, 60.67, -66.67)
CIE-LCHlch(38.74, 90.14, 312.30°)
OKLaboklab(49.94% 0.1128 -0.1905)
OKLCHoklch(49.94% 0.221 300.6)
XYZxyz(19.8429, 10.5081, 56.8485)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FCA #7ECA2F
analogous
#2F31CA #7B2FCA #C92FCA
triadic
#7B2FCA #CA7B2F #2FCA7B
tetradic
#7B2FCA #CA2F31 #7ECA2F #2FCAC9
square
#7B2FCA #CA2F31 #7ECA2F #2FCAC9
split-complementary
#7B2FCA #CAC92F #31CA2F
monochromatic
#3F1867 #5D2398 #7B2FCA #9A5DD9 #B98FE5

Accessibility & contrast

On white

6.77
#7B2FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7B2FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B2FCA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FCA#FFFFFF#000000##FFFFFF
##7B2FCA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2fca;
/* rgb */ color: rgb(123, 47, 202);
/* oklch */ color: oklch(49.9% 0.221 300.6);
Tailwind
colors: {
  custom: {
    50: '#a870db',
    500: '#7b2fca',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fca;
$custom-light: #a870db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fca",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 269.419,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.22137,
    "h": 300.6
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#7B2FCA
secondary
#ABCF86
accent
#E54295
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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