#A65FCB#A65FCB

#A65FCB is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.0% C 0.171 H 312.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A65FCB
RGBrgb(166, 95, 203)
HSLhsl(279, 51%, 58%)
HSVhsv(279, 53%, 80%)
CMYKcmyk(18.2%, 53.2%, 0%, 20.4%)
CIE-LABlab(52.51, 47.36, -44.79)
CIE-LCHlch(52.51, 65.18, 316.59°)
OKLaboklab(61.05% 0.1158 -0.1252)
OKLCHoklch(61.05% 0.171 312.8)
XYZxyz(30.5957, 20.6039, 58.8536)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65FCB #84CB5F
analogous
#705FCB #A65FCB #CB5FBA
triadic
#A65FCB #CBA65F #5FCBA6
tetradic
#A65FCB #CB705F #84CB5F #5FBACB
square
#A65FCB #CB705F #84CB5F #5FBACB
split-complementary
#A65FCB #BACB5F #5FCB70
monochromatic
#662B85 #893AB3 #A65FCB #C08DDA #D9BBE9

Accessibility & contrast

On white

4.10
#A65FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A65FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65FCB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65FCB#FFFFFF#000000##000000
##A65FCB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#A2718C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a65fcb;
/* rgb */ color: rgb(166, 95, 203);
/* oklch */ color: oklch(61.0% 0.171 312.8);
Tailwind
colors: {
  custom: {
    50: '#c38fdb',
    500: '#a65fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a65fcb;
$custom-light: #c38fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a65fcb",
  "rgb": {
    "r": 166,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 279.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.17052,
    "h": 312.8
  },
  "luminance": 0.20603
}

Semantic roles & 50–950 ramp

primary
#A65FCB
secondary
#BCD8AD
accent
#DA4D7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A65FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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