#7F65DD#7F65DD

#7F65DD is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.1% C 0.176 H 289.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7F65DD
RGBrgb(127, 101, 221)
HSLhsl(253, 64%, 63%)
HSVhsv(253, 54%, 87%)
CMYKcmyk(42.5%, 54.3%, 0%, 13.3%)
CIE-LABlab(50.73, 38.81, -58.11)
CIE-LCHlch(50.73, 69.88, 303.74°)
OKLaboklab(59.13% 0.0599 -0.1653)
OKLCHoklch(59.13% 0.176 289.9)
XYZxyz(26.4536, 19.0390, 70.6737)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65DD #C3DD65
analogous
#6587DD #7F65DD #BB65DD
triadic
#7F65DD #DD7F65 #65DD7F
tetradic
#7F65DD #DD6587 #C3DD65 #65DDBB
square
#7F65DD #DD6587 #C3DD65 #65DDBB
split-complementary
#7F65DD #DDBB65 #87DD65
monochromatic
#4024A4 #5533D2 #7F65DD #A997E8 #D2C9F3

Accessibility & contrast

On white

4.37
#7F65DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7F65DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65DD#FFFFFF#000000##000000
##7F65DD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE1
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#647F97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f65dd;
/* rgb */ color: rgb(127, 101, 221);
/* oklch */ color: oklch(59.1% 0.176 289.9);
Tailwind
colors: {
  custom: {
    50: '#a991e8',
    500: '#7f65dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f65dd;
$custom-light: #a991e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65dd",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 221
  },
  "hsl": {
    "h": 253,
    "s": 63.83,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.17583,
    "h": 289.9
  },
  "luminance": 0.1904
}

Semantic roles & 50–950 ramp

primary
#7F65DD
secondary
#DBE4B9
accent
#CC1AA5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7F65DD

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

Preview Lab → · Contrast checker → · Palette generator →

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