#7A75DB#7A75DB

#7A75DB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.4% C 0.151 H 283.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7A75DB
RGBrgb(122, 117, 219)
HSLhsl(243, 59%, 66%)
HSVhsv(243, 47%, 86%)
CMYKcmyk(44.3%, 46.6%, 0%, 14.1%)
CIE-LABlab(54.00, 27.65, -51.77)
CIE-LCHlch(54.00, 58.70, 298.11°)
OKLaboklab(61.43% 0.0345 -0.1468)
OKLCHoklch(61.43% 0.151 283.2)
XYZxyz(27.1698, 21.9734, 69.8138)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A75DB #D6DB75
analogous
#75A3DB #7A75DB #AD75DB
triadic
#7A75DB #DB7A75 #75DB7A
tetradic
#7A75DB #DB75A3 #D6DB75 #75DBAD
square
#7A75DB #DB75A3 #D6DB75 #75DBAD
split-complementary
#7A75DB #DBAD75 #A3DB75
monochromatic
#322CA9 #4B44CE #7A75DB #A9A6E8 #D8D6F4

Accessibility & contrast

On white

3.89
#7A75DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7A75DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A75DB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A75DB#FFFFFF#000000##000000
##7A75DB1.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)
#4C84DF
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#5B8A9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a75db;
/* rgb */ color: rgb(122, 117, 219);
/* oklch */ color: oklch(61.4% 0.151 283.2);
Tailwind
colors: {
  custom: {
    50: '#a59ce7',
    500: '#7a75db',
    950: '#000000',
  },
}
SCSS
$custom: #7a75db;
$custom-light: #a59ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a75db",
  "rgb": {
    "r": 122,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 242.941,
    "s": 58.621,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.15078,
    "h": 283.2
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#7A75DB
secondary
#E5E7C5
accent
#C61FBE
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A75DB

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

Preview Lab → · Contrast checker → · Palette generator →

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