#7B5CED#7B5CED

#7B5CED is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.208 H 288.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B5CED
RGBrgb(123, 92, 237)
HSLhsl(253, 80%, 65%)
HSVhsv(253, 61%, 93%)
CMYKcmyk(48.1%, 61.2%, 0%, 7.1%)
CIE-LABlab(49.47, 47.61, -69.18)
CIE-LCHlch(49.47, 83.98, 304.53°)
OKLaboklab(58.45% 0.0644 -0.198)
OKLCHoklch(58.45% 0.208 288)
XYZxyz(27.2772, 17.9785, 82.1373)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5CED #CEED5C
analogous
#5C85ED #7B5CED #C45CED
triadic
#7B5CED #ED7B5C #5CED7B
tetradic
#7B5CED #ED5C85 #CEED5C #5CEDC4
square
#7B5CED #ED5C85 #CEED5C #5CEDC4
split-complementary
#7B5CED #EDC45C #85ED5C
monochromatic
#3815BA #4E25E7 #7B5CED #A893F3 #D4CAF9

Accessibility & contrast

On white

4.57
#7B5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7B5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5CED
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5CED#FFFFFF#000000##000000
##7B5CED1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#547E9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5ced;
/* rgb */ color: rgb(123, 92, 237);
/* oklch */ color: oklch(58.5% 0.208 288.0);
Tailwind
colors: {
  custom: {
    50: '#a98bf4',
    500: '#7b5ced',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ced;
$custom-light: #a98bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ced",
  "rgb": {
    "r": 123,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 252.828,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.20824,
    "h": 288
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#7B5CED
secondary
#E1EBB9
accent
#DC09AF
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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