#7B5DEF#7B5DEF

#7B5DEF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.209 H 287.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7B5DEF
RGBrgb(123, 93, 239)
HSLhsl(252, 82%, 65%)
HSVhsv(252, 61%, 94%)
CMYKcmyk(48.5%, 61.1%, 0%, 6.3%)
CIE-LABlab(49.82, 47.62, -69.73)
CIE-LCHlch(49.82, 84.44, 304.33°)
OKLaboklab(58.76% 0.0633 -0.1996)
OKLCHoklch(58.76% 0.209 287.6)
XYZxyz(27.6582, 18.2704, 83.7138)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5DEF #D1EF5D
analogous
#5D88EF #7B5DEF #C45DEF
triadic
#7B5DEF #EF7B5D #5DEF7B
tetradic
#7B5DEF #EF5D88 #D1EF5D #5DEFC4
square
#7B5DEF #EF5D88 #D1EF5D #5DEFC4
split-complementary
#7B5DEF #EFC45D #88EF5D
monochromatic
#3613BF #4E25E9 #7B5DEF #A895F5 #D6CCFA

Accessibility & contrast

On white

4.51
#7B5DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7B5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5DEF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5DEF#FFFFFF#000000##000000
##7B5DEF1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#537F9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5def;
/* rgb */ color: rgb(123, 93, 239);
/* oklch */ color: oklch(58.8% 0.209 287.6);
Tailwind
colors: {
  custom: {
    50: '#a98cf5',
    500: '#7b5def',
    950: '#000000',
  },
}
SCSS
$custom: #7b5def;
$custom-light: #a98cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5def",
  "rgb": {
    "r": 123,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 252.329,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.20942,
    "h": 287.6
  },
  "luminance": 0.18272
}

Semantic roles & 50–950 ramp

primary
#7B5DEF
secondary
#E2EDBB
accent
#DE07B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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