#7975DB#7975DB

#7975DB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.4% C 0.151 H 282.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7975DB
RGBrgb(121, 117, 219)
HSLhsl(242, 59%, 66%)
HSVhsv(242, 47%, 86%)
CMYKcmyk(44.7%, 46.6%, 0%, 14.1%)
CIE-LABlab(53.92, 27.41, -51.90)
CIE-LCHlch(53.92, 58.70, 297.84°)
OKLaboklab(61.36% 0.0334 -0.1472)
OKLCHoklch(61.36% 0.151 282.8)
XYZxyz(27.0289, 21.9008, 69.8072)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7975DB #D7DB75
analogous
#75A4DB #7975DB #AC75DB
triadic
#7975DB #DB7975 #75DB79
tetradic
#7975DB #DB75A4 #D7DB75 #75DBAC
square
#7975DB #DB75A4 #D7DB75 #75DBAC
split-complementary
#7975DB #DBAC75 #A4DB75
monochromatic
#312CA9 #4A44CE #7975DB #A8A6E8 #D7D6F4

Accessibility & contrast

On white

3.90
#7975DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7975DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7975DB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7975DB#FFFFFF#000000##000000
##7975DB1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#598A9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7975db;
/* rgb */ color: rgb(121, 117, 219);
/* oklch */ color: oklch(61.4% 0.151 282.8);
Tailwind
colors: {
  custom: {
    50: '#a59ce7',
    500: '#7975db',
    950: '#000000',
  },
}
SCSS
$custom: #7975db;
$custom-light: #a59ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7975db",
  "rgb": {
    "r": 121,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 242.353,
    "s": 58.621,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.15091,
    "h": 282.8
  },
  "luminance": 0.21902
}

Semantic roles & 50–950 ramp

primary
#7975DB
secondary
#E5E7C5
accent
#C61FC0
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7975DB

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

Preview Lab → · Contrast checker → · Palette generator →

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