#7B52DF#7B52DF

#7B52DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.9% C 0.204 H 291.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7B52DF
RGBrgb(123, 82, 223)
HSLhsl(257, 69%, 60%)
HSVhsv(257, 63%, 87%)
CMYKcmyk(44.8%, 63.2%, 0%, 12.5%)
CIE-LABlab(46.41, 49.21, -66.25)
CIE-LCHlch(46.41, 82.53, 306.61°)
OKLaboklab(55.91% 0.0759 -0.1894)
OKLCHoklch(55.91% 0.204 291.8)
XYZxyz(24.5013, 15.5724, 71.5126)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B52DF #B6DF52
analogous
#5270DF #7B52DF #C252DF
triadic
#7B52DF #DF7B52 #52DF7B
tetradic
#7B52DF #DF5270 #B6DF52 #52DFC2
square
#7B52DF #DF5270 #B6DF52 #52DFC2
split-complementary
#7B52DF #DFC252 #70DF52
monochromatic
#411D9A #5726CE #7B52DF #A286E9 #CAB9F2

Accessibility & contrast

On white

5.10
#7B52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7B52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B52DF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B52DF#FFFFFF#000000##FFFFFF
##7B52DF1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#5D7391
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7b52df;
/* rgb */ color: rgb(123, 82, 223);
/* oklch */ color: oklch(55.9% 0.204 291.8);
Tailwind
colors: {
  custom: {
    50: '#a885ea',
    500: '#7b52df',
    950: '#000000',
  },
}
SCSS
$custom: #7b52df;
$custom-light: #a885ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7b52df",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 257.447,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.20403,
    "h": 291.8
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#7B52DF
secondary
#D2E2AB
accent
#EC3CB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7B52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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