#7975DF#7975DF

#7975DF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.6% C 0.156 H 282.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7975DF
RGBrgb(121, 117, 223)
HSLhsl(242, 62%, 67%)
HSVhsv(242, 48%, 87%)
CMYKcmyk(45.7%, 47.5%, 0%, 12.5%)
CIE-LABlab(54.15, 28.59, -53.79)
CIE-LCHlch(54.15, 60.92, 297.99°)
OKLaboklab(61.6% 0.0338 -0.1527)
OKLCHoklch(61.6% 0.156 282.5)
XYZxyz(27.5618, 22.1139, 72.6139)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7975DF #DBDF75
analogous
#75A6DF #7975DF #AE75DF
triadic
#7975DF #DF7975 #75DF79
tetradic
#7975DF #DF75A6 #DBDF75 #75DFAE
square
#7975DF #DF75A6 #DBDF75 #75DFAE
split-complementary
#7975DF #DFAE75 #A6DF75
monochromatic
#2E29B1 #4943D3 #7975DF #A9A7EB #D9D8F6

Accessibility & contrast

On white

3.87
#7975DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7975DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7975DF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7975DF#FFFFFF#000000##000000
##7975DF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#427EDD
Tritanopia (blue-blind)
#578B9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7975df;
/* rgb */ color: rgb(121, 117, 223);
/* oklch */ color: oklch(61.6% 0.156 282.5);
Tailwind
colors: {
  custom: {
    50: '#a59ce9',
    500: '#7975df',
    950: '#000000',
  },
}
SCSS
$custom: #7975df;
$custom-light: #a59ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7975df",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 242.264,
    "s": 62.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.616,
    "c": 0.15642,
    "h": 282.5
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#7975DF
secondary
#E8E9C7
accent
#CA1BC4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7975DF

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

Preview Lab → · Contrast checker → · Palette generator →

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