#C25AFB#C25AFB

#C25AFB is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.5% C 0.237 H 311.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#C25AFB
RGBrgb(194, 90, 251)
HSLhsl(279, 95%, 67%)
HSVhsv(279, 64%, 98%)
CMYKcmyk(22.7%, 64.1%, 0%, 1.6%)
CIE-LABlab(57.80, 66.68, -63.16)
CIE-LCHlch(57.80, 91.84, 316.55°)
OKLaboklab(66.52% 0.1567 -0.1781)
OKLCHoklch(66.52% 0.237 311.3)
XYZxyz(43.3137, 25.7477, 93.9362)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C25AFB #93FB5A
analogous
#725AFB #C25AFB #FB5AE3
triadic
#C25AFB #FBC25A #5AFBC2
tetradic
#C25AFB #FB725A #93FB5A #5AE3FB
square
#C25AFB #FB725A #93FB5A #5AE3FB
split-complementary
#C25AFB #E3FB5A #5AFB72
monochromatic
#8C05D5 #AC1EFA #C25AFB #D896FC #EED2FE

Accessibility & contrast

On white

3.41
#C25AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#C25AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C25AFB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C25AFB#FFFFFF#000000##000000
##C25AFB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#BB7AA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c25afb;
/* rgb */ color: rgb(194, 90, 251);
/* oklch */ color: oklch(66.5% 0.237 311.3);
Tailwind
colors: {
  custom: {
    50: '#d98ffd',
    500: '#c25afb',
    950: '#000000',
  },
}
SCSS
$custom: #c25afb;
$custom-light: #d98ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#c25afb",
  "rgb": {
    "r": 194,
    "g": 90,
    "b": 251
  },
  "hsl": {
    "h": 278.758,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66518,
    "c": 0.23718,
    "h": 311.3
  },
  "luminance": 0.25747
}

Semantic roles & 50–950 ramp

primary
#C25AFB
secondary
#D1F2BF
accent
#E60051
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C25AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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