#7B5CEF#7B5CEF

#7B5CEF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.211 H 287.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B5CEF
RGBrgb(123, 92, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(48.5%, 61.5%, 0%, 6.3%)
CIE-LABlab(49.61, 48.17, -70.08)
CIE-LCHlch(49.61, 85.04, 304.51°)
OKLaboklab(58.6% 0.0643 -0.2006)
OKLCHoklch(58.6% 0.211 287.8)
XYZxyz(27.5710, 18.0960, 83.6848)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CEF #D0EF5C
analogous
#5C87EF #7B5CEF #C45CEF
triadic
#7B5CEF #EF7B5C #5CEF7B
tetradic
#7B5CEF #EF5C87 #D0EF5C #5CEFC4
square
#7B5CEF #EF5C87 #D0EF5C #5CEFC4
split-complementary
#7B5CEF #EFC45C #87EF5C
monochromatic
#3713BE #4E24EA #7B5CEF #A894F4 #D5CBFA

Accessibility & contrast

On white

4.55
#7B5CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7B5CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5CEF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CEF#FFFFFF#000000##000000
##7B5CEF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#537F9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5cef;
/* rgb */ color: rgb(123, 92, 239);
/* oklch */ color: oklch(58.6% 0.211 287.8);
Tailwind
colors: {
  custom: {
    50: '#aa8cf5',
    500: '#7b5cef',
    950: '#000000',
  },
}
SCSS
$custom: #7b5cef;
$custom-light: #aa8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5cef",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 252.653,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.21069,
    "h": 287.8
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#7B5CEF
secondary
#E2ECBA
accent
#DF07B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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