#7B2FD0#7B2FD0

#7B2FD0 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.227 H 299.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B2FD0
RGBrgb(123, 47, 208)
HSLhsl(268, 63%, 50%)
HSVhsv(268, 77%, 82%)
CMYKcmyk(40.9%, 77.4%, 0%, 18.4%)
CIE-LABlab(39.24, 62.09, -69.33)
CIE-LCHlch(39.24, 93.07, 311.84°)
OKLaboklab(50.44% 0.1112 -0.1983)
OKLCHoklch(50.44% 0.227 299.3)
XYZxyz(20.5672, 10.7978, 60.6629)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2FD0 #84D02F
analogous
#2F34D0 #7B2FD0 #CB2FD0
triadic
#7B2FD0 #D07B2F #2FD07B
tetradic
#7B2FD0 #D02F34 #84D02F #2FD0CB
square
#7B2FD0 #D02F34 #84D02F #2FD0CB
split-complementary
#7B2FD0 #D0CB2F #34D02F
monochromatic
#40186C #5D249E #7B2FD0 #9B61DB #BA93E7

Accessibility & contrast

On white

6.65
#7B2FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B2FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B2FD0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2FD0#FFFFFF#000000##FFFFFF
##7B2FD01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD4
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#665B7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b2fd0;
/* rgb */ color: rgb(123, 47, 208);
/* oklch */ color: oklch(50.4% 0.227 299.3);
Tailwind
colors: {
  custom: {
    50: '#a970e0',
    500: '#7b2fd0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2fd0;
$custom-light: #a970e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2fd0",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 268.323,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.22736,
    "h": 299.3
  },
  "luminance": 0.10798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B2FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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