#7975DD#7975DD

#7975DD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.5% C 0.154 H 282.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7975DD
RGBrgb(121, 117, 221)
HSLhsl(242, 60%, 66%)
HSVhsv(242, 47%, 87%)
CMYKcmyk(45.2%, 47.1%, 0%, 13.3%)
CIE-LABlab(54.03, 28.00, -52.85)
CIE-LCHlch(54.03, 59.81, 297.92°)
OKLaboklab(61.48% 0.0336 -0.1499)
OKLCHoklch(61.48% 0.154 282.6)
XYZxyz(27.2937, 22.0067, 71.2022)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7975DD #D9DD75
analogous
#75A5DD #7975DD #AD75DD
triadic
#7975DD #DD7975 #75DD79
tetradic
#7975DD #DD75A5 #D9DD75 #75DDAD
square
#7975DD #DD75A5 #D9DD75 #75DDAD
split-complementary
#7975DD #DDAD75 #A5DD75
monochromatic
#302BAD #4944D1 #7975DD #A9A6E9 #D8D7F5

Accessibility & contrast

On white

3.89
#7975DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7975DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7975DD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7975DD#FFFFFF#000000##000000
##7975DD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#588B9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7975dd;
/* rgb */ color: rgb(121, 117, 221);
/* oklch */ color: oklch(61.5% 0.154 282.6);
Tailwind
colors: {
  custom: {
    50: '#a59ce8',
    500: '#7975dd',
    950: '#000000',
  },
}
SCSS
$custom: #7975dd;
$custom-light: #a59ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7975dd",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 242.308,
    "s": 60.465,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.15367,
    "h": 282.6
  },
  "luminance": 0.22008
}

Semantic roles & 50–950 ramp

primary
#7975DD
secondary
#E7E8C6
accent
#C81DC2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7975DD

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

Preview Lab → · Contrast checker → · Palette generator →

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