#7975E2#7975E2

#7975E2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.8% C 0.161 H 282.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7975E2
RGBrgb(121, 117, 226)
HSLhsl(242, 65%, 67%)
HSVhsv(242, 48%, 89%)
CMYKcmyk(46.5%, 48.2%, 0%, 11.4%)
CIE-LABlab(54.32, 29.47, -55.20)
CIE-LCHlch(54.32, 62.58, 298.10°)
OKLaboklab(61.79% 0.0342 -0.1569)
OKLCHoklch(61.79% 0.161 282.3)
XYZxyz(27.9698, 22.2772, 74.7629)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7975E2 #DEE275
analogous
#75A7E2 #7975E2 #B075E2
triadic
#7975E2 #E27975 #75E279
tetradic
#7975E2 #E275A7 #DEE275 #75E2B0
square
#7975E2 #E275A7 #DEE275 #75E2B0
split-complementary
#7975E2 #E2B075 #A7E275
monochromatic
#2C26B6 #4842D7 #7975E2 #AAA8ED #DBDAF7

Accessibility & contrast

On white

3.85
#7975E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#7975E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7975E2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7975E2#FFFFFF#000000##000000
##7975E21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#3F7EE0
Tritanopia (blue-blind)
#558CA1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7975e2;
/* rgb */ color: rgb(121, 117, 226);
/* oklch */ color: oklch(61.8% 0.161 282.3);
Tailwind
colors: {
  custom: {
    50: '#a59cec',
    500: '#7975e2',
    950: '#000000',
  },
}
SCSS
$custom: #7975e2;
$custom-light: #a59cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7975e2",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 242.202,
    "s": 65.269,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61786,
    "c": 0.16053,
    "h": 282.3
  },
  "luminance": 0.22279
}

Semantic roles & 50–950 ramp

primary
#7975E2
secondary
#E9EBC8
accent
#CD18C6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7975E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7975E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva