#7B5FEE#7B5FEE

#7B5FEE is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.0% C 0.206 H 287.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7B5FEE
RGBrgb(123, 95, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 60%, 93%)
CMYKcmyk(48.3%, 60.1%, 0%, 6.7%)
CIE-LABlab(50.18, 46.21, -68.60)
CIE-LCHlch(50.18, 82.71, 303.97°)
OKLaboklab(58.99% 0.0613 -0.1963)
OKLCHoklch(58.99% 0.206 287.3)
XYZxyz(27.6887, 18.5672, 82.9972)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5FEE #D2EE5F
analogous
#5F8BEE #7B5FEE #C25FEE
triadic
#7B5FEE #EE7B5F #5FEE7B
tetradic
#7B5FEE #EE5F8B #D2EE5F #5FEEC2
square
#7B5FEE #EE5F8B #D2EE5F #5FEEC2
split-complementary
#7B5FEE #EEC25F #8BEE5F
monochromatic
#3614BE #4D28E8 #7B5FEE #A996F4 #D6CEFA

Accessibility & contrast

On white

4.46
#7B5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#7B5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5FEE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5FEE#FFFFFF#000000##000000
##7B5FEE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#53809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b5fee;
/* rgb */ color: rgb(123, 95, 238);
/* oklch */ color: oklch(59.0% 0.206 287.3);
Tailwind
colors: {
  custom: {
    50: '#a98df4',
    500: '#7b5fee',
    950: '#000000',
  },
}
SCSS
$custom: #7b5fee;
$custom-light: #a98df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5fee",
  "rgb": {
    "r": 123,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 251.748,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.20564,
    "h": 287.3
  },
  "luminance": 0.18568
}

Semantic roles & 50–950 ramp

primary
#7B5FEE
secondary
#E3ECBC
accent
#DD08B3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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