#7B2FCF#7B2FCF

#7B2FCF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.4% C 0.226 H 299.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7B2FCF
RGBrgb(123, 47, 207)
HSLhsl(269, 63%, 50%)
HSVhsv(269, 77%, 81%)
CMYKcmyk(40.6%, 77.3%, 0%, 18.8%)
CIE-LABlab(39.15, 61.85, -68.89)
CIE-LCHlch(39.15, 92.58, 311.92°)
OKLaboklab(50.36% 0.1115 -0.197)
OKLCHoklch(50.36% 0.226 299.5)
XYZxyz(20.4445, 10.7487, 60.0170)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FCF #83CF2F
analogous
#2F33CF #7B2FCF #CB2FCF
triadic
#7B2FCF #CF7B2F #2FCF7B
tetradic
#7B2FCF #CF2F33 #83CF2F #2FCFCB
square
#7B2FCF #CF2F33 #83CF2F #2FCFCB
split-complementary
#7B2FCF #CFCB2F #33CF2F
monochromatic
#40186B #5D249D #7B2FCF #9B60DB #BA92E6

Accessibility & contrast

On white

6.67
#7B2FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B2FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B2FCF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FCF#FFFFFF#000000##FFFFFF
##7B2FCF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2fcf;
/* rgb */ color: rgb(123, 47, 207);
/* oklch */ color: oklch(50.4% 0.226 299.5);
Tailwind
colors: {
  custom: {
    50: '#a970df',
    500: '#7b2fcf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fcf;
$custom-light: #a970df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fcf",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 207
  },
  "hsl": {
    "h": 268.5,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50359,
    "c": 0.22636,
    "h": 299.5
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#7B2FCF
secondary
#AFD189
accent
#E64298
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7B2FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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