#7C65BA#7C65BA

#7C65BA is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.7% C 0.129 H 294.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7C65BA
RGBrgb(124, 101, 186)
HSLhsl(256, 38%, 56%)
HSVhsv(256, 46%, 73%)
CMYKcmyk(33.3%, 45.7%, 0%, 27.1%)
CIE-LABlab(48.43, 28.46, -41.76)
CIE-LCHlch(48.43, 50.53, 304.28°)
OKLaboklab(56.69% 0.0532 -0.1175)
OKLCHoklch(56.69% 0.129 294.4)
XYZxyz(21.8265, 17.1372, 48.6027)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C65BA #A3BA65
analogous
#6579BA #7C65BA #A765BA
triadic
#7C65BA #BA7C65 #65BA7C
tetradic
#7C65BA #BA6579 #A3BA65 #65BAA7
square
#7C65BA #BA6579 #A3BA65 #65BAA7
split-complementary
#7C65BA #BAA765 #79BA65
monochromatic
#443372 #5D469C #7C65BA #A08FCD #C4BAE0

Accessibility & contrast

On white

4.74
#7C65BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7C65BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C65BA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C65BA#FFFFFF#000000##FFFFFF
##7C65BA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#6E7586
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c65ba;
/* rgb */ color: rgb(124, 101, 186);
/* oklch */ color: oklch(56.7% 0.129 294.4);
Tailwind
colors: {
  custom: {
    50: '#a491cf',
    500: '#7c65ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c65ba;
$custom-light: #a491cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c65ba",
  "rgb": {
    "r": 124,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 256.235,
    "s": 38.117,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.12897,
    "h": 294.4
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#7C65BA
secondary
#C5CFAC
accent
#CE5AAF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7C65BA

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

Preview Lab → · Contrast checker → · Palette generator →

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