#A65CEF#A65CEF

#A65CEF is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.214 H 304.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A65CEF
RGBrgb(166, 92, 239)
HSLhsl(270, 82%, 65%)
HSVhsv(270, 62%, 94%)
CMYKcmyk(30.5%, 61.5%, 0%, 6.3%)
CIE-LABlab(54.02, 57.01, -62.73)
CIE-LCHlch(54.02, 84.77, 312.26°)
OKLaboklab(62.82% 0.12 -0.1777)
OKLCHoklch(62.82% 0.214 304)
XYZxyz(35.1295, 21.9934, 84.0391)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65CEF #A5EF5C
analogous
#5C5CEF #A65CEF #EF5CEF
triadic
#A65CEF #EFA65C #5CEFA6
tetradic
#A65CEF #EF5C5C #A5EF5C #5CEFEF
square
#A65CEF #EF5C5C #A5EF5C #5CEFEF
split-complementary
#A65CEF #EFEF5C #5CEF5C
monochromatic
#6913BE #8824EA #A65CEF #C494F4 #E3CBFA

Accessibility & contrast

On white

3.89
#A65CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A65CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65CEF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65CEF#FFFFFF#000000##000000
##A65CEF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#3581EC
Tritanopia (blue-blind)
#987B9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a65cef;
/* rgb */ color: rgb(166, 92, 239);
/* oklch */ color: oklch(62.8% 0.214 304.0);
Tailwind
colors: {
  custom: {
    50: '#c58ef5',
    500: '#a65cef',
    950: '#000000',
  },
}
SCSS
$custom: #a65cef;
$custom-light: #c58ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a65cef",
  "rgb": {
    "r": 166,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 270.204,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.21445,
    "h": 304
  },
  "luminance": 0.21993
}

Semantic roles & 50–950 ramp

primary
#A65CEF
secondary
#D3ECBA
accent
#DF0772
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #A65CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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