#7B68CA#7B68CA

#7B68CA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.1% C 0.146 H 290.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B68CA
RGBrgb(123, 104, 202)
HSLhsl(252, 48%, 60%)
HSVhsv(252, 49%, 79%)
CMYKcmyk(39.1%, 48.5%, 0%, 20.8%)
CIE-LABlab(49.95, 30.79, -48.57)
CIE-LCHlch(49.95, 57.51, 302.37°)
OKLaboklab(58.1% 0.05 -0.1374)
OKLCHoklch(58.1% 0.146 290)
XYZxyz(23.7765, 18.3752, 58.1597)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B68CA #B7CA68
analogous
#6886CA #7B68CA #AC68CA
triadic
#7B68CA #CA7B68 #68CA7B
tetradic
#7B68CA #CA6886 #B7CA68 #68CAAC
square
#7B68CA #CA6886 #B7CA68 #68CAAC
split-complementary
#7B68CA #CAAC68 #86CA68
monochromatic
#413088 #5640B5 #7B68CA #A395DA #CAC3EA

Accessibility & contrast

On white

4.49
#7B68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7B68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B68CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B68CA#FFFFFF#000000##000000
##7B68CA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CE
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#667C8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b68ca;
/* rgb */ color: rgb(123, 104, 202);
/* oklch */ color: oklch(58.1% 0.146 290.0);
Tailwind
colors: {
  custom: {
    50: '#a593db',
    500: '#7b68ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b68ca;
$custom-light: #a593db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b68ca",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 251.633,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.58095,
    "c": 0.14623,
    "h": 290
  },
  "luminance": 0.18376
}

Semantic roles & 50–950 ramp

primary
#7B68CA
secondary
#D2DAB4
accent
#D850BD
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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