#7B74FE#7B74FE

#7B74FE is a light, vivid blue. Relative luminance 0.239; OKLCH L 63.6% C 0.199 H 281.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7B74FE
RGBrgb(123, 116, 254)
HSLhsl(243, 99%, 73%)
HSVhsv(243, 54%, 100%)
CMYKcmyk(51.6%, 54.3%, 0%, 0.4%)
CIE-LABlab(55.94, 38.81, -68.17)
CIE-LCHlch(55.94, 78.44, 299.65°)
OKLaboklab(63.59% 0.0393 -0.1949)
OKLCHoklch(63.59% 0.199 281.4)
XYZxyz(32.2977, 23.8556, 96.6494)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B74FE #F7FE74
analogous
#74B2FE #7B74FE #C074FE
triadic
#7B74FE #FE7B74 #74FE7B
tetradic
#7B74FE #FE74B2 #F7FE74 #74FEC0
square
#7B74FE #FE74B2 #F7FE74 #74FEC0
split-complementary
#7B74FE #FEC074 #B2FE74
monochromatic
#0E02F6 #4137FE #7B74FE #B5B1FE #E2E1FF

Accessibility & contrast

On white

3.64
#7B74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7B74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B74FE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B74FE#FFFFFF#000000##000000
##7B74FE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B8BFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#4493AE
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7b74fe;
/* rgb */ color: rgb(123, 116, 254);
/* oklch */ color: oklch(63.6% 0.199 281.4);
Tailwind
colors: {
  custom: {
    50: '#aa9cff',
    500: '#7b74fe',
    950: '#000000',
  },
}
SCSS
$custom: #7b74fe;
$custom-light: #aa9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b74fe",
  "rgb": {
    "r": 123,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 243.043,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.63587,
    "c": 0.19887,
    "h": 281.4
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#7B74FE
secondary
#F5F7D4
accent
#E600DA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7B74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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