#A255F3#A255F3

#A255F3 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.227 H 302.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A255F3
RGBrgb(162, 85, 243)
HSLhsl(269, 87%, 64%)
HSVhsv(269, 65%, 95%)
CMYKcmyk(33.3%, 65%, 0%, 4.7%)
CIE-LABlab(52.56, 60.52, -67.34)
CIE-LCHlch(52.56, 90.54, 311.95°)
OKLaboklab(61.75% 0.1223 -0.1913)
OKLCHoklch(61.75% 0.227 302.6)
XYZxyz(34.3227, 20.6494, 86.9542)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A255F3 #A6F355
analogous
#5557F3 #A255F3 #F155F3
triadic
#A255F3 #F3A255 #55F3A2
tetradic
#A255F3 #F35557 #A6F355 #55F3F1
square
#A255F3 #F35557 #A6F355 #55F3F1
split-complementary
#A255F3 #F3F155 #57F355
monochromatic
#650EC0 #831CEF #A255F3 #C18EF7 #E1C7FB

Accessibility & contrast

On white

4.09
#A255F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A255F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A255F3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A255F3#FFFFFF#000000##000000
##A255F31.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#137DF0
Tritanopia (blue-blind)
#92789D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a255f3;
/* rgb */ color: rgb(162, 85, 243);
/* oklch */ color: oklch(61.7% 0.227 302.6);
Tailwind
colors: {
  custom: {
    50: '#c389f8',
    500: '#a255f3',
    950: '#000000',
  },
}
SCSS
$custom: #a255f3;
$custom-light: #c389f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a255f3",
  "rgb": {
    "r": 162,
    "g": 85,
    "b": 243
  },
  "hsl": {
    "h": 269.241,
    "s": 86.813,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61749,
    "c": 0.22711,
    "h": 302.6
  },
  "luminance": 0.20649
}

Semantic roles & 50–950 ramp

primary
#A255F3
secondary
#D3EDB6
accent
#E30276
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A255F3

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

Preview Lab → · Contrast checker → · Palette generator →

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