#7F65CC#7F65CC

#7F65CC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.153 H 292.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7F65CC
RGBrgb(127, 101, 204)
HSLhsl(255, 50%, 60%)
HSVhsv(255, 50%, 80%)
CMYKcmyk(37.7%, 50.5%, 0%, 20%)
CIE-LABlab(49.71, 34.11, -50.07)
CIE-LCHlch(49.71, 60.59, 304.26°)
OKLaboklab(58.04% 0.059 -0.1417)
OKLCHoklch(58.04% 0.153 292.6)
XYZxyz(24.3023, 18.1784, 59.3434)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F65CC #B2CC65
analogous
#657ECC #7F65CC #B365CC
triadic
#7F65CC #CC7F65 #65CC7F
tetradic
#7F65CC #CC657E #B2CC65 #65CCB3
square
#7F65CC #CC657E #B2CC65 #65CCB3
split-complementary
#7F65CC #CCB365 #7ECC65
monochromatic
#452D89 #5C3DB7 #7F65CC #A593DB #CBC1EA

Accessibility & contrast

On white

4.53
#7F65CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7F65CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F65CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F65CC#FFFFFF#000000##000000
##7F65CC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D0
Deuteranopia (green-blind)
#4174CA
Tritanopia (blue-blind)
#6C7A8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f65cc;
/* rgb */ color: rgb(127, 101, 204);
/* oklch */ color: oklch(58.0% 0.153 292.6);
Tailwind
colors: {
  custom: {
    50: '#a891dc',
    500: '#7f65cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f65cc;
$custom-light: #a891dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f65cc",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 255.146,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.15349,
    "h": 292.6
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

primary
#7F65CC
secondary
#D0DAB2
accent
#DA4EB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7F65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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