#7C65CB#7C65CB

#7C65CB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.152 H 291.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7C65CB
RGBrgb(124, 101, 203)
HSLhsl(254, 50%, 60%)
HSVhsv(254, 50%, 80%)
CMYKcmyk(38.9%, 50.2%, 0%, 20.4%)
CIE-LABlab(49.38, 33.09, -50.05)
CIE-LCHlch(49.38, 60.00, 303.47°)
OKLaboklab(57.71% 0.0552 -0.1417)
OKLCHoklch(57.71% 0.152 291.3)
XYZxyz(23.7424, 17.9036, 58.6931)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C65CB #B4CB65
analogous
#6581CB #7C65CB #AF65CB
triadic
#7C65CB #CB7C65 #65CB7C
tetradic
#7C65CB #CB6581 #B4CB65 #65CBAF
square
#7C65CB #CB6581 #B4CB65 #65CBAF
split-complementary
#7C65CB #CBAF65 #81CB65
monochromatic
#422E88 #583DB6 #7C65CB #A393DA #CAC1EA

Accessibility & contrast

On white

4.58
#7C65CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7C65CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C65CB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C65CB#FFFFFF#000000##000000
##7C65CB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#677A8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7c65cb;
/* rgb */ color: rgb(124, 101, 203);
/* oklch */ color: oklch(57.7% 0.152 291.3);
Tailwind
colors: {
  custom: {
    50: '#a691db',
    500: '#7c65cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c65cb;
$custom-light: #a691db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c65cb",
  "rgb": {
    "r": 124,
    "g": 101,
    "b": 203
  },
  "hsl": {
    "h": 253.529,
    "s": 49.515,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.15208,
    "h": 291.3
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#7C65CB
secondary
#D1DAB2
accent
#D94FBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100D15
muted
#7F7D83

Preview Lab

Preview with #7C65CB

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

Preview Lab → · Contrast checker → · Palette generator →

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