#7D65DB#7D65DB

#7D65DB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.8% C 0.173 H 289.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7D65DB
RGBrgb(125, 101, 219)
HSLhsl(252, 62%, 63%)
HSVhsv(252, 54%, 86%)
CMYKcmyk(42.9%, 53.9%, 0%, 14.1%)
CIE-LABlab(50.43, 37.80, -57.47)
CIE-LCHlch(50.43, 68.79, 303.33°)
OKLaboklab(58.82% 0.0574 -0.1635)
OKLCHoklch(58.82% 0.173 289.3)
XYZxyz(25.8937, 18.7809, 69.2649)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D65DB #C3DB65
analogous
#6588DB #7D65DB #B865DB
triadic
#7D65DB #DB7D65 #65DB7D
tetradic
#7D65DB #DB6588 #C3DB65 #65DBB8
square
#7D65DB #DB6588 #C3DB65 #65DBB8
split-complementary
#7D65DB #DBB865 #88DB65
monochromatic
#3E25A0 #5333CF #7D65DB #A797E7 #D1C8F2

Accessibility & contrast

On white

4.42
#7D65DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7D65DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D65DB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D65DB#FFFFFF#000000##000000
##7D65DB1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADF
Deuteranopia (green-blind)
#2D75D8
Tritanopia (blue-blind)
#627E96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d65db;
/* rgb */ color: rgb(125, 101, 219);
/* oklch */ color: oklch(58.8% 0.173 289.3);
Tailwind
colors: {
  custom: {
    50: '#a891e7',
    500: '#7d65db',
    950: '#000000',
  },
}
SCSS
$custom: #7d65db;
$custom-light: #a891e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d65db",
  "rgb": {
    "r": 125,
    "g": 101,
    "b": 219
  },
  "hsl": {
    "h": 252.203,
    "s": 62.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58823,
    "c": 0.17327,
    "h": 289.3
  },
  "luminance": 0.18782
}

Semantic roles & 50–950 ramp

primary
#7D65DB
secondary
#DBE3B9
accent
#CA1CA6
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7D65DB

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

Preview Lab → · Contrast checker → · Palette generator →

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