#7875DB#7875DB

#7875DB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.151 H 282.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7875DB
RGBrgb(120, 117, 219)
HSLhsl(242, 59%, 66%)
HSVhsv(242, 47%, 86%)
CMYKcmyk(45.2%, 46.6%, 0%, 14.1%)
CIE-LABlab(53.84, 27.18, -52.03)
CIE-LCHlch(53.84, 58.70, 297.58°)
OKLaboklab(61.28% 0.0322 -0.1476)
OKLCHoklch(61.28% 0.151 282.3)
XYZxyz(26.8894, 21.8289, 69.8007)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7875DB #D8DB75
analogous
#75A5DB #7875DB #AB75DB
triadic
#7875DB #DB7875 #75DB78
tetradic
#7875DB #DB75A5 #D8DB75 #75DBAB
square
#7875DB #DB75A5 #D8DB75 #75DBAB
split-complementary
#7875DB #DBAB75 #A5DB75
monochromatic
#302CA9 #4944CE #7875DB #A7A6E8 #D7D6F4

Accessibility & contrast

On white

3.91
#7875DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7875DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7875DB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7875DB#FFFFFF#000000##000000
##7875DB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7875db;
/* rgb */ color: rgb(120, 117, 219);
/* oklch */ color: oklch(61.3% 0.151 282.3);
Tailwind
colors: {
  custom: {
    50: '#a49ce7',
    500: '#7875db',
    950: '#000000',
  },
}
SCSS
$custom: #7875db;
$custom-light: #a49ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#7875db",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 241.765,
    "s": 58.621,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.15104,
    "h": 282.3
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#7875DB
secondary
#E6E7C5
accent
#C61FC1
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7875DB

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

Preview Lab → · Contrast checker → · Palette generator →

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