#A68ECB#A68ECB

#A68ECB is a light, moderate violet. Relative luminance 0.318; OKLCH L 69.1% C 0.091 H 302.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A68ECB
RGBrgb(166, 142, 203)
HSLhsl(264, 37%, 68%)
HSVhsv(264, 30%, 80%)
CMYKcmyk(18.2%, 30%, 0%, 20.4%)
CIE-LABlab(63.15, 21.20, -28.15)
CIE-LCHlch(63.15, 35.24, 306.98°)
OKLaboklab(69.06% 0.0486 -0.0775)
OKLCHoklch(69.06% 0.091 302.1)
XYZxyz(36.1761, 31.7648, 60.7137)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68ECB #B3CB8E
analogous
#8E94CB #A68ECB #C58ECB
triadic
#A68ECB #CBA68E #8ECBA6
tetradic
#A68ECB #CB8E94 #B3CB8E #8ECBC5
square
#A68ECB #CB8E94 #B3CB8E #8ECBC5
split-complementary
#A68ECB #CBC58E #94CB8E
monochromatic
#674698 #8564B8 #A68ECB #C7B8DE #E8E2F2

Accessibility & contrast

On white

2.86
#A68ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A68ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68ECB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68ECB#FFFFFF#000000##000000
##A68ECB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#8699C9
Tritanopia (blue-blind)
#A097A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a68ecb;
/* rgb */ color: rgb(166, 142, 203);
/* oklch */ color: oklch(69.1% 0.091 302.1);
Tailwind
colors: {
  custom: {
    50: '#c1afdb',
    500: '#a68ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a68ecb;
$custom-light: #c1afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a68ecb",
  "rgb": {
    "r": 166,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 263.607,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69058,
    "c": 0.09146,
    "h": 302.1
  },
  "luminance": 0.31765
}

Semantic roles & 50–950 ramp

primary
#A68ECB
secondary
#DCE4D1
accent
#B03680
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A68ECB

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

Preview Lab → · Contrast checker → · Palette generator →

#A68ECB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva