#7B5FED#7B5FED

#7B5FED is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.9% C 0.204 H 287.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B5FED
RGBrgb(123, 95, 237)
HSLhsl(252, 80%, 65%)
HSVhsv(252, 60%, 93%)
CMYKcmyk(48.1%, 59.9%, 0%, 7.1%)
CIE-LABlab(50.11, 45.92, -68.15)
CIE-LCHlch(50.11, 82.18, 303.97°)
OKLaboklab(58.92% 0.0614 -0.195)
OKLCHoklch(58.92% 0.204 287.5)
XYZxyz(27.5422, 18.5086, 82.2256)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FED #D1ED5F
analogous
#5F8AED #7B5FED #C25FED
triadic
#7B5FED #ED7B5F #5FED7B
tetradic
#7B5FED #ED5F8A #D1ED5F #5FEDC2
square
#7B5FED #ED5F8A #D1ED5F #5FEDC2
split-complementary
#7B5FED #EDC25F #8AED5F
monochromatic
#3615BC #4E28E7 #7B5FED #A896F3 #D6CDF9

Accessibility & contrast

On white

4.47
#7B5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#7B5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5FED
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FED#FFFFFF#000000##000000
##7B5FED1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#54809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5fed;
/* rgb */ color: rgb(123, 95, 237);
/* oklch */ color: oklch(58.9% 0.204 287.5);
Tailwind
colors: {
  custom: {
    50: '#a98df4',
    500: '#7b5fed',
    950: '#000000',
  },
}
SCSS
$custom: #7b5fed;
$custom-light: #a98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5fed",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 251.831,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.20439,
    "h": 287.5
  },
  "luminance": 0.1851
}

Semantic roles & 50–950 ramp

primary
#7B5FED
secondary
#E2ECBC
accent
#DC09B3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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